Discover and read the best of Twitter Threads about #CSSpodcast

Most recents (3)

Another week on #CSSpodcast, this weeks topic is CSS Functions 😍

🧡
CSS Functions provides runtime contextual expressions that return dynamic real-time value per the state of the browser per user in that moment
- global space, no need import
- can be nested, calc(var(--var))
- typed, eg: `rotate(45px)` will not work
- keep the function live, recompute on value changes and updates
- many of them are pure functions, however, counter-example: `counter()`
Read 20 tweets
In the latest episode #CSSpodcast, @Una and @argyleink shared a ton of pseudo-classes

(I managed to note down 3️⃣9️⃣ of them 😱)

🧡 Here is a thread of what were shared in the podcast πŸ‘‡πŸ‘‡πŸ‘‡
Pseudo-classes are selectors, lets you apply style to element based on info outside of the doc tree:

🌎 meta information, eg: language, history of navigator
β˜‘οΈ state of the element, eg: checked, active, disabled

✨Pseudo-classes are great for implementing micro-interactivity
πŸ”€ Case-insensitive
⏹ No whitespace in between
Read 24 tweets
Learned a ton of pseudo elements, that i didnt know existed, in this week's #CSSpodcast by @Una and @argyleink

thecsspodcast.libsyn.com/014-pseudo-ele…

Learn about 9️⃣ things I learned in the thread πŸ‘‡πŸ‘‡
1️⃣

pseudo elements has 2 colons in front ::
πŸ†š
pseudo class which have 1 colon in front :
2️⃣

::before and ::after targets the pseudo-element that is the 1st child and last child of the element respectively

πŸ“ to create the pseudo-element, use `content` property
πŸ“ content will be read by screen reader
πŸ“ cannot be used by replaced elements, eg: <img>, <video>
Read 10 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!