Yep, I fully get that. I’m also aware of the other supported units. The article is potentially misleading and it’s written more so from a developer perspective. For design purposes, I think pt
makes perfect sense as long as something appropriate is exported for use by development teams.
This article could probably do with a revisit in all honesty 👍
That being said, the majority will likely opt for using px/em
etc. over other units such as pt
for actual development.
Taken from w3.org
(here)
CSS inherited the units
pt
(point) andpc
(pica) from typography. Printers have traditionally used those and similar units in preference tocm
orin
. In CSS there is no reason to usept
, use whichever unit you prefer. But there is a good reason to use neitherpt
nor any other absolute unit and only useem
andpx
.The only place where you could use
pt
(orcm
orin
) for setting a font size is in style sheets for print, if you need to be sure the printed font is exactly a certain size. But even there using the default font size is usually better.