5 CSS Tricks You NEED To Know

preview_player
Показать описание
In today's video, we'll take a look at a number of things you can do in CSS which aren't as well known as they probably should be 🤔

Chapters:
0:00 Intro
0:11 max-content
1:38 aspect-ratio
4:18 Attribute Selectors
6:30 pointer-events
8:45 scroll-behavior
10:43 Outro

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

#dcode #css
Рекомендации по теме
Комментарии
Автор

Nice one Dom - thanks.
IMHO the one use case for disabling all (or some) pointer events would be to prevent simple "copy/paste" operations.
That would not really make sense these days where you could make a screenshot and pipe it to an image to text utility.
But that's just me. Looking forward to valid use cases...

montebont
Автор

Thank you. Great tricks.
For the sake of completeness you could mention the default values of each property

ivanyosifov
Автор

I am learning web development by my own and I found u by freecodecamp, a small class about js classes. I dont know why u dont have more visits on your videos, u get around 2k each. But seems you know a lot so it makes me thing negatively about if its worth to still learning web development or learning another thing. This is because if web development would be profitable, then it wouldnt be worth making videos for 2k visits, instead, would be better just working. Please someone help me explaining me that Im wrong, I have a shitty job and I saw web development as a escape.

needleskane
Автор

I really like your javascript tutorials

nasibekhlas