News for hackers. Stuff that matters.
Re:Continuous Typography by magicseth on Saturday March 20, 2021 @03:50PM (#26525645)
A combination of vw and vh were ultimately how I decided to tackle the problem. I'm very happy with the amount of control and flexibility I ended up with on my slightly design heavy website.

Https://magicseth.com/

Re:Continuous Typography by JxLS-cpgbe0 on Sunday March 21, 2021 @01:27PM (#26532104)
Viewport-relative widths are a poor practice for accessibility, in general (maybe you don't care for your small personal website). The user can't set their own preferred size, font-size becomes illegible at small sizes, and way too large on large viewports (2160px is becoming more common). It breaks zoom on some browsers as well.

The clamp() examples here mitigate that somewhat, but why do we need fluid shifts in text size? Just use media queries.

Re:Continuous Typography by xwx on Saturday March 20, 2021 @04:28PM (#26525864)
This doesn't seem to work with Firefox. A blue splash fills the whole screen and stays there until I move my cursor outside the window or right click.
Re:Continuous Typography by magicseth on Saturday March 20, 2021 @05:26PM (#26526166)
Thanks!! Apparently this: width: calc(100px / 100vw);

Is not valid in Firefox!

Re:Continuous Typography by magicseth on Saturday March 20, 2021 @05:38PM (#26526248)
Hopefully it's fixed now!
Re:Continuous Typography by nanna on Saturday March 20, 2021 @06:13PM (#26526433)
Have you seen Stump the Guesser by Guy Maddin? Your site reminds me of it.
Re:Continuous Typography by magicseth on Saturday March 20, 2021 @06:59PM (#26526705)
I haven't! What aspect is similar?
Re:Continuous Typography by nanna on Sunday March 21, 2021 @01:37PM (#26532201)
Well it's just a little film about a magician, a 'guesser'. To be honest I think I wrote that mostly because I'd watched it the night before! But as a magician I recon you would enjoy it. :)