This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
Today, it's a really quick one. I came across the ex
unit in CSS, and I didn't know that it was a thing. It stands for the x-height
, and the spec defines it as follows:
The x-height is so called because it is often equal to the height of the lowercase "x".
I'm not sure when I would use that, but I hope to remember it when I find a need for it. A picture is worth more than words, so here we go with a quick #devsheets illustration. ?
Reply to Stefan
This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
Stefan Judis | Sciencx (2020-07-19T22:00:00+00:00) The ex unit in CSS (#tilPost). Retrieved from https://www.scien.cx/2020/07/19/the-ex-unit-in-css-tilpost/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.