News for hackers. Stuff that matters.
Re:Font Sizes from 4px to 99.9px by thehorseofdoom on Wednesday December 13, 2023 @07:05PM (#38636060)
A ruler of sorts? Gives you a sense of how big a CSS pixel is. On desktop, you can auto-scroll and see some nice periodic graphics. Doesn't work too well on mobile. (It seems like the font sizes safari can display is discrete)

Inspired by that webpage that didn't close their h2 tags so the font size kept comically increasing

Re:Font Sizes from 4px to 99.9px by exikyut on Wednesday December 13, 2023 @11:01PM (#38637614)
That web page was using Comic Sans MS, too, wasn't it

I can't understand why something would be published in that condition - and that it would be considered acceptable and signed off on and stuff :)

Or maybe the page owner never actually visited the website...

Re:Font Sizes from 4px to 99.9px by cantSpellSober on Thursday December 14, 2023 @09:50AM (#38641929)
> Doesn't work too well on mobile

a font-size value with decimals may be rounded to the nearest whole number, depending on browser

https://developer.mozilla.org/en-US/docs/Web/CSS/font-size#p...