5 Modern CSS Features You Should Know In 2024

preview_player
Показать описание
:has() Selector, Container Queries, CSS Nesting, text-wrap:balance And :focus-visible - Quick & Easy Examples.

🗞️ Blog Post

🖥️ Official Website & Courses

💬 Academind Community

👋 Social Media

📝 Further Resources
Description: LINK
Рекомендации по теме
Комментарии
Автор

0:01 Psuedo-selector :has()
1:24 Container Queries
3:30 CSS Nesting
4:15 Text-wrap balance
4:51 :focus-visible

nickyn
Автор

Superb short and sweet, I'll be using most of these now - thanks!!

nitram_nosnibor
Автор

The first tip helped me fix a bug on my page thank you!

oatmocha
Автор

Thank you! These CSS features are amazing and you explained them extremely well.

Razax
Автор

CSS nesting requires the &-nesting selector when using elements e.g. `.something { & input {} }` but not for class selectors e.g. `.something { .else {} }`

Htbaa
Автор

1. :has pseudo-selector
2. Container queries
3. CSS nesting
4. text-wrap: balance
5. :focus-visible

hcx
Автор

Best part about text-wrap balance it is just a progressive enhancement. Meaning if it does not work your site will not 100% look different.
Unlike some of the other stuff you meantioned.

deathone
Автор

Is that audio generated with AI or something like Descript? I have watched your videos for years and this one sounds very very weird 😅

simonswiss
Автор

So whats the difference between the selector "ul li input {mycode}" and "ul li:has(input){mycode}". Isn't it the same thing?

oaooaoipip
Автор

Thank you for a well structured informative video

oldegreg
Автор

it's been a years i've never slicing UI using vanilla CSS since Tailwind came out.

simpingsyndrome
Автор

Not bad at all! I'll give these a try for my next upcoming project!

troyharris
Автор

in css udemy course, it would be great if you add tailwind css section.

aamirshekh
Автор

focus-visible has been well supported for a while.

sujanbasnet
Автор

`has()` is supported in Firefox since last December (2023). I'm wondering how we can do it for older version.

quangpn
Автор

Are you using AI to do your voice now?

MeatCatCheesyBlaster
Автор

bruh, browser support for the text-wrap: balance is 66%.

ridl
Автор

What? you accent has changed, I thouth it was another person or you had your yt channel hijacked

ellsonmendesYT
visit shbcf.ru