Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

don't sleep on using CSS counters for counting your content 👨‍🍳 section::before { content: counters(section,'',pad)'.'counters(content,'',pad) } /* 01.04 */ @​counter-style pad { system: extends decimal; pad: 2 '0'; } check it! 👇

95,627 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

this is kinda hard to get a video of so might be worth a little breakdown demo 🤔 but using CSS to count your content means you don't have to bake numbered headings into your content swap the content order? no issue pad the numbers? no problem, use a counter style 🤙

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

had some questions about this one so made a breakdown demo 🤙 should help explain things 🧑‍🍳

Profilbild von Better Bedder
Better Beddervor 1 Jahr

As seen on Shark Tank: Never lift your heavy mattress to change sheets. Use this headband that wraps around your bed.

Profilbild von Cory Simmons
Cory Simmonsvor 1 Jahr

I always suspected you could do some crazy ish with counters but never really dug into it.

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

gonna spin up a clearer demo because I realise this is quite hard to follow 😅

Profilbild von artTILT
artTILTvor 1 Jahr

Clean.

Profilbild von CG
CGvor 1 Jahr

this slaps. when everyone is going very like rounded i like the sharp edges and the 1 in the corner. looks dope

Profilbild von 🇫🇷Guillaume Tell - Fullstack dev🇫🇷 τ/acc
🇫🇷Guillaume Tell - Fullstack dev🇫🇷 τ/accvor 1 Jahr

I understand nothing 🤣 wtf is that css property 😱

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

jus' built a new demo to help explain it 🙏

Profilbild von oluwasefunmi
oluwasefunmivor 1 Jahr

This is so crazy that I have literally never seen this feature before And it's baseline!

Ähnliche Videos