Modern CSS Features You Should Know About

  Рет қаралды 10,312

Joy of Code

Joy of Code

Күн бұрын

Пікірлер: 37
@JeffPohlmeyer
@JeffPohlmeyer 7 ай бұрын
Channeling your inner Kevin Powell with the "hello my frontend friends", are we?
@thedelanyo
@thedelanyo 7 ай бұрын
17:38 the :has() selector is really awesome. For instance, I used it in a Sveltekit project theme switch, to prevent that flicker error (where the server brings dark them, and then the client flick to light). Because in Svelte, the body element cannot be accessed on the server. In other words, we cannot do dynamic class to the body on server. So I dynamically add theme to the main element. Then I used something like this body:has(.dark), where .light or .dark class is on the main element.
@luxluth
@luxluth 7 ай бұрын
« I need to zoom in to show you how beautiful it is ». Love css. Great video
@twd2
@twd2 7 ай бұрын
I did like what you said about how you should not keep these things on your mind or be overwhelmed about, it will be just enough to know that there's something that solves some problem and you will use it when you need it...
@erickmoya1401
@erickmoya1401 7 ай бұрын
Oh man. I am writing a components library and this makes it amazing. I am taking a lot from the react version to svelte and I was worried that I didnt had all this available because of svelte scoping. This is amazing!
@SoreBrain
@SoreBrain 7 ай бұрын
I really appreciated the video pacing. Browser support is slow but it moves 🎉
@jugibur2117
@jugibur2117 7 ай бұрын
Thanks for the presentation, very exciting times for CSS developers! I wonder why subgrid took so long when it seems so simple. And wow, those color blending things are so crazy.... Browsers really are one of the most complex pieces of software out there today, I think. Big kudos to the developers for their hard work!
@MatichekYoutube
@MatichekYoutube 7 ай бұрын
scroll driven animations -- letss gooo ..
@NedCollyer
@NedCollyer 7 ай бұрын
Hi Friends! Your energy and "to the point" presentation style is great. I continue to enjoy every one of your videos.
@weiiswurst
@weiiswurst 7 ай бұрын
It's incredibly funny to me that they managed to mess up the sticky headers in an article about CSS - the text is shown below AND above the header when you scroll :)
@JoyofCodeDev
@JoyofCodeDev 7 ай бұрын
That's probably my fault because I changed the CSS on the page to remove the header for more reading space. 😆
@SRG-Learn-Code
@SRG-Learn-Code 7 ай бұрын
2:50 scope is going to be great! As you said, most framework could just swap and do it vanilla and therefor you sites are going to be more resilient. Is like CSS people are seeing how awesome it is!
@cis84muz
@cis84muz 7 ай бұрын
"Hey there my friend and friends" LOL I had to double check who is talking :D
@SheeceGardazi
@SheeceGardazi 7 ай бұрын
this is insane! just how many time I have written js conditioning to get alot of this stuff ... and now its so simple ... gg!
@pauloheres
@pauloheres 7 ай бұрын
Amazing work! Thanks for creating such a good content.
@SRG-Learn-Code
@SRG-Learn-Code 7 ай бұрын
4:20 Good bye SCSS! Nesting is so neat... Since now is "vanilla" css, could you use it in svelte and still compile it to be cross-browser compatible? Not having to setup scss is going to be great (the times I use it is just because nesting)
@JoyofCodeDev
@JoyofCodeDev 7 ай бұрын
You can also use PostCSS to take advantage of these features and remove it later.
@kimeiga
@kimeiga 7 ай бұрын
This is amazing I had no idea nesting came to all major browsers by dec 2023!!!🎉🎉
@Lemmy4555
@Lemmy4555 7 ай бұрын
be careful that safari has a shitty way to update and is tied to the OS version, nevertheless it's supported by all major browsers, it has a support of around 60% in the user land at the moment, most of them are iphones or osx that are not updated to the latest version. Always check caniuse to know the actual support share.
@mikeeomega
@mikeeomega 7 ай бұрын
Yeah, Tailwind is good like fast food, but native css is the health meal that you may not love, but is good for you and take you to another level.
@alwayzsmarter
@alwayzsmarter 7 ай бұрын
note to self. dont spend months making custom modal component because even css updates move faster than i do...but i am excited for all these
@slacle
@slacle 7 ай бұрын
I literally saw a video from Kevin just right before this one :D
@prashlovessamosa
@prashlovessamosa 7 ай бұрын
Thanks for sharing.
@bryamalfaro
@bryamalfaro 7 ай бұрын
Great video thanks
@help3106
@help3106 7 ай бұрын
ur introduction hits me 🥲
@SRG-Learn-Code
@SRG-Learn-Code 7 ай бұрын
10:30 Tahran from LTT made a video a while ago about how photoshop doesn't know how to properly mix colors. It seems css got it right!
@kozmikhero6749
@kozmikhero6749 7 ай бұрын
Ok all these changes have made me stop using scss to just regular css. I didn't know all these features came within the last year! I plan on launching an application by mid summer so some of these features may even have better support by then
@JoyofCodeDev
@JoyofCodeDev 7 ай бұрын
You can also use PostCSS and remove it later.
@TSC-HOME
@TSC-HOME 7 ай бұрын
Cool video thanks
@AbdullahBashir-b3t
@AbdullahBashir-b3t 7 ай бұрын
@purticas
@purticas 7 ай бұрын
Does this mean I have to learn math for CSS?
@b1mind
@b1mind 7 ай бұрын
FireFox... FF the new IE
@SRG-Learn-Code
@SRG-Learn-Code 7 ай бұрын
Firefox in android is great because it still allows extensions. I love firefox is still a thing. I hope they get their $hit together and become evergreen again. Might be that they don't push features anymore and just wait to see what they finally have to implement?
@JoyofCodeDev
@JoyofCodeDev 7 ай бұрын
Mozilla still hires Firefox engineers but their focus seems to be shifting away from Firefox into other money-making schemes.
@jugibur2117
@jugibur2117 7 ай бұрын
Firefox is not always up to date, but has solid implementations. Most of the problems I have today are with Safari!
@calmmind3160
@calmmind3160 Ай бұрын
tailwind is stupid
@imdaboythatwheheryeah
@imdaboythatwheheryeah 7 ай бұрын
Using “boom” and “crap” in every second sentence does not make you look cool, just FYI
How To Not Suck At Design For Developers
14:23
Joy of Code
Рет қаралды 82 М.
I Tried Every Svelte UI Library
20:57
Joy of Code
Рет қаралды 49 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 61 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 20 МЛН
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 14 МЛН
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
Learn Why JavaScript Frameworks Love Signals By Implementing Them
20:15
23 CSS features you should know (and be using) by now
31:31
Kevin Powell
Рет қаралды 76 М.
5 useful tips to help you improve your CSS TODAY!!
9:02
CSS {de}Coder
Рет қаралды 976
Understanding Effects In Svelte And When To Use Them
27:31
Joy of Code
Рет қаралды 6 М.
Top 10 CSS Features You Should Know & Use in 2023
19:56
Lukas | Web Development & Design
Рет қаралды 312 М.
Learn How To Use Svelte 5 Snippets
17:41
Joy of Code
Рет қаралды 8 М.
A new approach to container and wrapper classes
25:27
Kevin Powell
Рет қаралды 260 М.
CSS Anchor Is The Best New CSS Feature Since Flexbox
15:39
Web Dev Simplified
Рет қаралды 371 М.
A better image reset for your CSS
11:16
Kevin Powell
Рет қаралды 112 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 61 МЛН