Jonathan Cutrell from Tuts+ shared a great post about seven CSS units of measurement that you might not know about yet simply because they are rarely used in front-end development. The usual px
and em
measurement units are totally fine but you will be in great advantage if you know about a couple of these lesser-known units especially when coding a responsive website. The CSS units mentioned in Jonathan’s article are rem
, vh
, vw
, vmin
, vmax
, ex
and ch
. rem
, vw
and vh
are supported by IE9+, vmax
by IE11+ and vmin
is actually “vm” in IE9. ex
and ch
meanwhile are only supported in newer Google Chrome.
comment 0