Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2020-11-27 17:31:57

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,260
Website Mastodon

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

#17 2020-11-27 17:38:15

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

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

#18 2020-11-27 18:07:49

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,743
GitHub

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,477

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 is line-height.

The line height has no unit.

Offline

#20 2020-11-28 07:55:44

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,656
Website

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
phiw13 on Codeberg

Offline

#21 2020-11-28 08:20:06

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: Contemporary font sizing for the concernedly lazy

Yeah I’d never use that rule in production, it was just for an explanation!

Offline

#22 2020-11-28 10:49:27

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,743
GitHub

Re: Contemporary font sizing for the concernedly lazy

PS: I love how civilised this is, peak Textpattern right here.

Offline

Board footer

Powered by FluxBB