Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Contemporary font sizing for the concernedly lazy
Destry wrote #327099:
Your input is always appreciated, Pete. Designers don’t know everything.
These two are pretty bloody close, in fairness.
It’s all good, I like being made to think about things more closely, it’s one of the reasons I’m here.
Offline
Re: Contemporary font sizing for the concernedly lazy
And Stef learns a new CSS thing today. clamp()
. Wow. That’s super cool, thanks Phil! Imma go play with that on my next project.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Contemporary font sizing for the concernedly lazy
philwareham wrote #327091:
font: 12px / 14px;...
. . . first value isfont-size
, second isline-height
.
Ha! I never paid attention to the missing -size
on that rule. So it’s a kind of shorthand, then. Mystery solved.
Last edited by Destry (2020-11-27 13:00:39)
Offline
Re: Contemporary font sizing for the concernedly lazy
philwareham wrote #327089:
Not meaning to piss on Tailwind, …, and throwing shade on it just like they now do to Bootstrap (which they all loved 4 years ago).
So if not Bootstrap what do all the cool young turks like these days?
…. texted postive
Offline
Re: Contemporary font sizing for the concernedly lazy
Well it seems to be Taiilwind right now but it’ll be something else in a couple of months, no doubt.
Offline
Re: Contemporary font sizing for the concernedly lazy
bici wrote #327112:
So if not Bootstrap what do all the cool young turks like these days?
You could watch this for updates: stateofcss.com – they’ve taken and closed the survey, presumably they’re collating and presenting the data. I very much enjoyed poking through the 2019 results when they arrived.
Edit: frameworks from 2019
Last edited by gaekwad (2020-11-27 18:09:20)
Offline
#19 2020-11-28 04:54:04
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: Contemporary font sizing for the concernedly lazy
philwareham wrote #327091:
Do you mean this shorthand?:
font: 12px / 14px;...
If so, then the first value is
font-size
, second isline-height
.
The line height has no unit.
Offline
Re: Contemporary font sizing for the concernedly lazy
GugUser wrote #327124:
The line height has no unit.
tut tut … :-) The line-height
property can take a lenght
as value (since CSS1 !). MDN doc
But anything other than a number
(unitless) and the keyword normal
is not such a good idea™.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Contemporary font sizing for the concernedly lazy
Yeah I’d never use that rule in production, it was just for an explanation!
Offline
Re: Contemporary font sizing for the concernedly lazy
PS: I love how civilised this is, peak Textpattern right here.
Offline