5 Modern Features That Make CSS Easy

  Рет қаралды 13,385

Awesome

Awesome

Күн бұрын

Пікірлер: 56
@aLfRemArShMeLlOw
@aLfRemArShMeLlOw 3 ай бұрын
I can't wait to be able to use container queries in 10 years, when finally all legacy Safari devices will be dead.
@didiercatz
@didiercatz 3 ай бұрын
Container queries are actually supported since Safari 16 (iOS 16) and according to Can I Use, about 92% of all web users support it. Even so it's up to the user to keep their device up to date, and you could always polyfill.
@theklr
@theklr 3 ай бұрын
Then you’re not doing progressive enhancement correctly …
@ashleyfreebush
@ashleyfreebush 3 ай бұрын
I had no idea about container queries... ;'( Keep posting!!!
@FurrerW
@FurrerW 3 ай бұрын
Grid for dummies? Sign me up!
@CoolestPossibleName
@CoolestPossibleName 3 ай бұрын
Sign me up too!
@js3671
@js3671 3 ай бұрын
Me too
@awesome-coding
@awesome-coding 3 ай бұрын
Noted!
@aravindmuthu5748
@aravindmuthu5748 3 ай бұрын
I @ this
@irlshrek
@irlshrek 3 ай бұрын
I'm a dummy
@JordanHershberger
@JordanHershberger 3 ай бұрын
Grid for dummies please! Especially if there could be a section really covering subgrid!
@awesome-coding
@awesome-coding 3 ай бұрын
Noted! Coming soon!
@Gornius
@Gornius 3 ай бұрын
1:05 - for me personally nesting is less readable. Just imagine that form section is longer than 30 lines. Suddenly all you see is label section, and you might think this applies to all the labels, and for context you need to read across tens of lines of code.
@awesome-coding
@awesome-coding 3 ай бұрын
You are definitely right. There is always a balance between gaining benefits and overusing a feature.
@PiyushJain-ct2qq
@PiyushJain-ct2qq 3 ай бұрын
Grid for Dummies please
@awesome-coding
@awesome-coding 3 ай бұрын
Will do!
@ArifBillahOnGoogle
@ArifBillahOnGoogle 3 ай бұрын
The only thing that is needed to center a div is display:flex on parent and margin:auto on child, and it will center the child both horizontally AND vertically. Supported across the board as far as I can remember. I don't know why this is even a meme any more.
@patocarrasco6266
@patocarrasco6266 3 ай бұрын
but then you have more space between elements than between the elements with the border of its respective parent element or the viewport itself. With side elemets being sad about it, in this case, you use `display: flex` and `justify-content: space-evenly`. For sure, that won't help in every case, so you need other 10 ways of doing it and that's why the meme is more alive than ever
@awesome-coding
@awesome-coding 3 ай бұрын
@ArifBillahOnGoogle @patocarrasco6266 😂 case and point
@szpaklabs8893
@szpaklabs8893 3 ай бұрын
Cool! Thank you for this information. I also used SCSS often, because of nesting, and now it is possible without any extra dependency and this is great. But the most blowing mind feature for me is the `:is` :)
@awesome-coding
@awesome-coding 3 ай бұрын
Glad it was helpful!
@BensonSappor
@BensonSappor 2 ай бұрын
Grid for dummies, I'm in
@fortunembulazi
@fortunembulazi 3 ай бұрын
More details on Grid.
@alinghinea98
@alinghinea98 3 ай бұрын
container queries might be a game changer ✌
@nomadshiba
@nomadshiba 3 ай бұрын
people take time to learn programming languages, and paradigms they take no time to learn CSS and how to use it more efficiently, they don't even know which units to pick from. and they wrongly use `px` everywhere.
@awesome-coding
@awesome-coding 3 ай бұрын
That's because CSS is perceived as a "simple" language. So nobody bothers to spend some time learning it.
@amirhoseinbagheri1999
@amirhoseinbagheri1999 3 ай бұрын
we are very interested in your deep dive into the grid for dummies
@awesome-coding
@awesome-coding 3 ай бұрын
Noted! Will do!
@mandokir
@mandokir 3 ай бұрын
Did not know about :is() or native nesting.
@awesome-coding
@awesome-coding 3 ай бұрын
Glad you learned something new!
@JeyPeyy
@JeyPeyy 3 ай бұрын
I really dislike when people nest their css too much. Many things become too hard coupled to the html so that you can't move them around without getting rid of all its styling. it also makes the specificity higher than it needs to, making it hard to overrule the settings without using !important. So I wouldn't exactly say that this makes it more modular and maintainable, quite the contrary actually. If used correctly (ie when there are relationships between the elements), it's very nice though.
@ravigupta1813
@ravigupta1813 3 ай бұрын
Grid for dummies plzzzzzz 😭😭😭😭
@awesome-coding
@awesome-coding 3 ай бұрын
Noted!
@Davi-it3in
@Davi-it3in 3 ай бұрын
Grid for dummies please!!
@awesome-coding
@awesome-coding 3 ай бұрын
Will do!
@Arciiix
@Arciiix 3 ай бұрын
Grid for dummies!
@awesome-coding
@awesome-coding 3 ай бұрын
Noted!
@vatsalyavigyaverma5494
@vatsalyavigyaverma5494 3 ай бұрын
15 years wow
@awesome-coding
@awesome-coding 3 ай бұрын
🤦‍♂️ Now it's time to finally learn some actual programming
@4Mulator
@4Mulator 3 ай бұрын
Yes! Grid for dummies, please and thank you!
@harold.machado
@harold.machado 3 ай бұрын
thanks... Awesome Grid please
@awesome-coding
@awesome-coding 3 ай бұрын
Will do!
@irlshrek
@irlshrek 3 ай бұрын
omg. im so glad you made this video. i said "oooooooh" out loud like 3 times and im not even done with the video lol. its so easy to be out of the loop
@awesome-coding
@awesome-coding 3 ай бұрын
Glad you liked it!!
@jricardoprog
@jricardoprog 3 ай бұрын
I've had a lot of fights with IE6, lol
@awesome-coding
@awesome-coding 3 ай бұрын
😅
@solorsix
@solorsix 3 ай бұрын
Nice work!
@awesome-coding
@awesome-coding 3 ай бұрын
Thank you! Cheers!
@jonathanliu-chan238
@jonathanliu-chan238 3 ай бұрын
Yes keen for the grid deep dive
@awesome-coding
@awesome-coding 3 ай бұрын
Noted!
@QueeeeenZ
@QueeeeenZ 3 ай бұрын
Tailwind - the best CSS feature. It should ship with the browser.
@aravindmuthu5748
@aravindmuthu5748 3 ай бұрын
really 🙄
@nice-vf4rj
@nice-vf4rj 3 ай бұрын
Then browsers would be unreadable
@pro14ab
@pro14ab 3 ай бұрын
they wrote the same about bootstrap
@allan_archie
@allan_archie 3 ай бұрын
It does. It's called inline styles.
Web Dev The Right Way
12:35
Awesome
Рет қаралды 33 М.
The Simplest Tech Stack
9:38
Awesome
Рет қаралды 118 М.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 67 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 96 МЛН
Ozoda - Lada (Official Music Video)
06:07
Ozoda
Рет қаралды 14 МЛН
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 56 МЛН
Top 10 Advanced CSS Responsive Design Concepts You Should Know
20:16
Web Dev Simplified
Рет қаралды 526 М.
Why I’m Switching To Go in 2024
8:10
Awesome
Рет қаралды 64 М.
CSS Tips And Tricks 2 | I Wish Somebody Told Me Before
12:36
Lama Dev
Рет қаралды 47 М.
@property Is One Of The Coolest New CSS Features
10:41
Web Dev Simplified
Рет қаралды 33 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 170 М.
A new approach to container and wrapper classes
25:27
Kevin Powell
Рет қаралды 260 М.
The Right Way To Build REST APIs
10:07
Awesome
Рет қаралды 104 М.
Write Better Code
8:02
Awesome
Рет қаралды 22 М.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 67 МЛН