State of CSS

  Рет қаралды 135,790

Chrome for Developers

Chrome for Developers

2 жыл бұрын

Styling on the web has been moving fast, bringing rich features for container-based styles and layouts, managing color contrast, leveraging device vibrant colors, gradients, and new color spaces for mixing, orchestrating stylesheets, subgrid, inert, :has() selector, and much more. With each browser working in unison to improve stability while also delivering fan favorite features, 2022 is shaping up to be a huge year for styling.
Resource:
State of CSS 2022 → goo.gle/38vtFy6
Speaker: Adam Argyle
Watch more:
All Google I/O 2022 Sessions → goo.gle/IO22_AllSessions
Web at I/O 2022 playlist → goo.gle/IO22_Web
All Google I/O 2022 technical sessions → goo.gle/IO22_Sessions
Subscribe to Google Chrome Developers → goo.gle/ChromeDevs
#GoogleIO

Пікірлер: 194
@Brunoenribeiro
@Brunoenribeiro 2 жыл бұрын
So happy Jessie Pinkman got into web dev 😝 Thanks Adam, this video was splendid! Super stoked to test all this new stuff
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
lolol, you're not the first to say I look like that guy. I agree in this video especially I look like him. Cookin up UI hehe
@ManojKumar-op7ot
@ManojKumar-op7ot 2 жыл бұрын
Haha. First thing that came up in my mind. The question is where is Walter White in that UI kitchen?
@TheRyanSmee
@TheRyanSmee 2 жыл бұрын
Thanks for the super thorough breakdown. I have been buzzing for fully supported container queries for the longest time - can’t wait!
@montebont
@montebont 2 жыл бұрын
Thanks Adam! Finally perceptually consistent color spaces like CIE L*a*b. Thanks to everyone in the team and keep up the good works. But: it also means browsers should not assume sRGB but must be aware of and use "local" custom monitor profiles...Or at least Adobe RGB.
@khashayarr
@khashayarr 2 жыл бұрын
Adam makes me a million times more excited about CSS! Such a gem!
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
awww thanks!!
@maxjf1
@maxjf1 2 жыл бұрын
This :has selector its surely a game changer. This will greatly impact how css is used, and avoid many backend / js processing
@kissu_io
@kissu_io 2 жыл бұрын
Ma man, CSS experts will be quite rare in the upcoming years. :D
@Stoney_Eagle
@Stoney_Eagle 2 жыл бұрын
The man, the myth, the legend behind the challenges 😋
@spiritual5750
@spiritual5750 2 жыл бұрын
can you share his work? i am just a noob trying to learn
@megairrational
@megairrational 2 жыл бұрын
Adam man, I love your excitement about CSS and web in general. In this video, in the CSS podcast, in UI Challenges, …. Many thanks 🙏
@lukasluftlaufer1093
@lukasluftlaufer1093 2 жыл бұрын
Everyone gangster, until older safari versions need to be supported. 😎😵 Still... What a fantastic presentation!!! Really stoked about these new features
@avneet12284
@avneet12284 2 жыл бұрын
Omg, this is phenomenal. I watched this at 0.75x speed whereas normally I am at 1.5x
@DrewIsFail
@DrewIsFail 2 жыл бұрын
It's interesting that a lot of things that had to be managed by js, like the container functionality, are possible via pure css now
@seth111yta1
@seth111yta1 2 жыл бұрын
3:15 people died waiting for this but celebrate its here now
@oskarzoch8946
@oskarzoch8946 Жыл бұрын
I've been doing this color stuff for some time now with Sass, but I've always missed this functionality in real time in browser. CSS is getting better and better every year, this is so exciting!
@jugibur2117
@jugibur2117 2 жыл бұрын
Wow, on the one hand I'm excited about so many new possibilities - on the other hand I'm afraid that at some point I won't be able to get it all into my head....
@haroldpepete
@haroldpepete 2 жыл бұрын
the last one is very powerful and it's really helpful, you don't have to search in children for someone who class is something, greattt
@danko95bgd
@danko95bgd 2 жыл бұрын
Amazing stuff! That css relative one is great, no need for css in js bullshits, just convert dumb hex value to hsl for example and up brightness easily.
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
i'm soooo excited for the relative color syntax. so powerful and will save so much boilerplate
@thecodingfoundation
@thecodingfoundation 2 жыл бұрын
Maybe there should also be a focus on phasing out stuff that's inconsistent and/or old, to remove bloat and hopefully end up with a CSS language that doesn't require "moz-" and all sorts of stuff. Consistency between things like "font-size" and "text-color" would also be nice.
@DaviAreias
@DaviAreias 2 жыл бұрын
Cool, but how do we center a div?
@wes337
@wes337 2 жыл бұрын
inert finally gives us a solid fix for the "scrolling the main page while a modal is open" problem!
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
yaya!
@youknowwho4994
@youknowwho4994 Жыл бұрын
Not even bored a sec. Pure bliss to watch.
@_polargaming
@_polargaming 2 жыл бұрын
Most excited about the @container query and the :has selector
@dickson710
@dickson710 2 жыл бұрын
it would be perfect if Adam shows his right hand at the end.
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
lol
@szynszyliszys
@szynszyliszys 2 жыл бұрын
I love how CIE LAB looks spot on like a simplified map of Poland ✨
@nabiih
@nabiih 2 жыл бұрын
@container is a game changer. So excited to try it!
@reginaldooliveira0817
@reginaldooliveira0817 2 жыл бұрын
Congratulations on the performance in this creativity, leveraging success with objectivity; Perfect design. Mutual success and happiness.
@boxy3087
@boxy3087 2 жыл бұрын
what browser currently supported by [fullbleed-start]?
@7sq
@7sq 2 жыл бұрын
What is the reason my chrome book is slower ? Why is my chrome book not suported past June ?
@cg219
@cg219 2 жыл бұрын
Is there an idea of how long until these are stable ??
@danielradosa
@danielradosa 2 жыл бұрын
yall just made styling a whole new job position.
@DannyFJhonstonB
@DannyFJhonstonB 2 жыл бұрын
Great update! Thank you!
@TomHermans
@TomHermans 2 жыл бұрын
Thanks Adam. Great overview. It's indeed great to be working on the web.
@Joaovtrc
@Joaovtrc 2 жыл бұрын
Color contrast is so amazing, can't wait to use it!
@Ana-mn5io
@Ana-mn5io Жыл бұрын
Thanks i love the way Adam and Una presents 💚💛💙❤
@philkunz
@philkunz 2 жыл бұрын
yeah, big blow though: @container queries can't see past slot borders, meaning its breaking with the logic of how css variables behave.
@thecoderabbi
@thecoderabbi 2 жыл бұрын
Love your vibes Adam!
@stea27
@stea27 2 жыл бұрын
So many awesome ideas. Now this is innovation.
@AmenraRobinson
@AmenraRobinson 2 жыл бұрын
Hey it's that one dude! The living CSS Encyclopedia.
@talorlanczyk4933
@talorlanczyk4933 2 жыл бұрын
Finally we waited for this for so long!! Personally i waited for the has selector
@adamleblanc5294
@adamleblanc5294 Жыл бұрын
It's November 23rd and I still don't have good subgrid or @container support 😢
@TheHehhoi
@TheHehhoi 2 жыл бұрын
Really excited about the Colrv1 Fonts and the color-contrast(). One question that came to mind: Why are many of the features currently available only for the experimental Safari?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
IMO, Safari and iOS have extremely high quality screens that are capable of spectacular color, it's in their best interested to give the web full power to showcase these colors for users, so users continue to believe things look best on their devices.
@craziestdavid15
@craziestdavid15 2 жыл бұрын
Which software could let me make video like this
@javiasilis
@javiasilis 2 жыл бұрын
Holey Moley! So many small yet powerful features coming up.
@JeyPeyy
@JeyPeyy 2 жыл бұрын
the color space stuff is so hard to grasp, I had to skip that part after a while of my mind getting blown. but it sounds really cool!
@AllanLange
@AllanLange 2 жыл бұрын
color-contrast() and how it is able to select from a list of predefined colors or default to black or white in order to pass!! 🤯
@PaulMcCannWebBuilder
@PaulMcCannWebBuilder 2 жыл бұрын
A wowie wow wow wow for this video. One of Google's smartest acquisitions was Adam Arglye.
@fave1201
@fave1201 2 жыл бұрын
Awesome presentation 👏
@AquaDiskoteque
@AquaDiskoteque 2 жыл бұрын
Gosh! Nice upd) we waiting for this sooo long) :watermelon:
@VarunGupta3009
@VarunGupta3009 2 жыл бұрын
I'm bursting with excitement!
@_whatistruth
@_whatistruth 2 жыл бұрын
Waiting for :has and those new viewport height variants. 😀
@abyssoftus
@abyssoftus 2 жыл бұрын
Wonderful presentation.
@msjahun
@msjahun 2 жыл бұрын
What a time to be a web developer
@nro337
@nro337 2 жыл бұрын
Thank you!
@EliotNash
@EliotNash 2 жыл бұрын
Super excited for :has
@elementiro
@elementiro 2 жыл бұрын
All that stuff with color is cool (except gradients, because sRGB still look the best) but minor, I would say. But :has() seems revolutionary! I would say it's more important change than adding grid layout few years ago.
@SalomDunyoIT
@SalomDunyoIT 2 жыл бұрын
that means, we can animate background gradients, right?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
that one is unlocked with @property, shipped only in Chrome so far
@heathbruce9928
@heathbruce9928 2 жыл бұрын
Ok. So when are we going to be able to get font sizes to fit a given space that resize with the viewport?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
the new container units could help with that! they're like viewport units but for @containers 🤓
@heathbruce9928
@heathbruce9928 2 жыл бұрын
@@AdamArgyleInk could?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
@@heathbruce9928 they will help you achieve a kind of the style you're after, but not exactly. so they could help with some scenarios but not all.
@jacobstamm
@jacobstamm 2 жыл бұрын
This dude’s energy is second to none.
@lewis4493
@lewis4493 2 жыл бұрын
I find it obnoxious 😅
@ulziibatn
@ulziibatn 2 жыл бұрын
Woow. Super good job guys 👍
@d-o-n-u-t
@d-o-n-u-t 2 жыл бұрын
I'm used to the sRGB gradients, so I think they actually kinda look better...
@davidlipschitz4877
@davidlipschitz4877 2 жыл бұрын
Nice breakdown! Question - Why would you choose 'accent-color' over regular 'color' to highlight feature text?
@diegoalvarez437
@diegoalvarez437 2 жыл бұрын
contrast
@bl_int
@bl_int 2 жыл бұрын
great update
@sabuein
@sabuein 2 жыл бұрын
Thank you.
@HansvandeBruggen
@HansvandeBruggen 2 жыл бұрын
This was surprisingly entertaining!
@agsrf6479
@agsrf6479 2 жыл бұрын
Please add masonry grid template rows for other browsers too, not only firefox!
@ehudkirsh766
@ehudkirsh766 2 жыл бұрын
1:39 - "Just let it load, let it load, whenever it wants to assign to one of your predefined layer nodes" - classy, I like it XD
@AtariKafa
@AtariKafa 2 жыл бұрын
color space feature made me happy.... 😊
@puffin_000
@puffin_000 2 жыл бұрын
Reis sende mi web development yapıyorsun?
@ptinosq
@ptinosq 2 жыл бұрын
16:09 inert.css? Doesn't look like CSS to me 😅
@aarond9563
@aarond9563 2 жыл бұрын
I haven't used CSS in years, but as a designer this was pretty cool.
@Draaack
@Draaack 2 жыл бұрын
So damn cool, thanks Adam and Chrome devs.
@3nt3_
@3nt3_ 2 жыл бұрын
Also the other browser devs
@fabianwohlfart7249
@fabianwohlfart7249 2 жыл бұрын
It makes me dizzy that he does not use / hides his right hand under the table. i know its for the next and prev slide button, but can't you add just a red big button in the table and both of his hands on top of it.
@CrystalMusicProductions
@CrystalMusicProductions 2 жыл бұрын
This is neat
@pawekoaczynski4505
@pawekoaczynski4505 Жыл бұрын
the accent color on native element is huge
@BenjaminDenverstone
@BenjaminDenverstone 2 жыл бұрын
I'm wondering when we might get CSS4. I'm learning Full Stack Web Development and CSS3 is interesting. It can be a little hard to understand (Grid, Flex-box, Block, Inline) but it's an important styles language nonetheless.
@longingbydesign
@longingbydesign 2 жыл бұрын
If there's ever going to be a CSS 4 it's going to be merely a marketing name, not more. CSS 3 is a living standard, there is no need to ever increase the version number.
@delulu6969
@delulu6969 2 жыл бұрын
No, there's no CSS Level 4. You can read the W3C spec on CSS Snapshot. What we're having are modules, ie features, which will have their own levels developed forward with time. There're already level 4 and 5 modules. For example, the new extended color space is in CSS Color Module Level 4. In CSS Color Module Level 5, they're speccing out mainly the features to modify colors relatively like how we have been doing with Sass but it will be native in the future if committees and every browser get to an agreement.
@joshuaraison
@joshuaraison 2 жыл бұрын
It's Super Cool.....
@armandmugabo1170
@armandmugabo1170 Жыл бұрын
awesome
@edgarfrias9460
@edgarfrias9460 2 жыл бұрын
Awesome work! Thanks to all devs involved to push boundaries for css! Css roks! :D
@user-dk1ru3yx9i
@user-dk1ru3yx9i 2 жыл бұрын
about new units amazing
@Lucsy3012
@Lucsy3012 2 жыл бұрын
It is indeed a great time to be CSS nerd 🤓
@lunaumbra5179
@lunaumbra5179 2 жыл бұрын
rad demo bro
2 жыл бұрын
thanks adam!! css is the way!
@144km
@144km 2 жыл бұрын
let it load~ let it load~🎵
@leodaza
@leodaza Жыл бұрын
god damn, these are nice tricks!
@__________HolySpirit__________
@__________HolySpirit__________ 2 жыл бұрын
the letter h does not form a "ch" sound. nor is the letter h called "aitch" it is a powerful breathy vowel diffuse
@mtsferreirasilva
@mtsferreirasilva 2 жыл бұрын
CSS is getting tricky with so many variations and options to choose from. Powerful, but the learning curve is increasing. Not complaining, just mentioning.
@ehsan_kia
@ehsan_kia 2 жыл бұрын
is your right arm okay? :(
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
holding the clicker lol
@ozqurozalp
@ozqurozalp 2 жыл бұрын
Adam abim seviliyorsun 😍
@blessdarah1256
@blessdarah1256 2 жыл бұрын
I'm enjoying how the CSS is becoming more powerful by the day.
@dmitriyobidin6049
@dmitriyobidin6049 2 жыл бұрын
Tbh, there is to much emphasis on colors... We still can't reliably layout our pages to be adaptive and responsive on all devices, but now we will fight with designers and all their "creative" ideas. It would be amazing to have more layout tools like @container in development and not most of those colors things... 16:06 So, instead of adding a modal attribute that would work only at the component level and would do the same thing we now have to manually insert inert attribute into some parent container when we want to show a modal dialog? Why?!
@adaai2384
@adaai2384 2 жыл бұрын
`accent-color` is really cool. You have no excuse not to use native controls now.
@JeyPeyy
@JeyPeyy 2 жыл бұрын
damm, can't believe we had to wait this long for subgrids. Good job Microsoft
@snapstromegon
@snapstromegon 2 жыл бұрын
Please, PLEASE make CSS Nesting a thing...
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
workin on it!!
@danielsoller6893
@danielsoller6893 2 жыл бұрын
Rad viedeo
@MGNS
@MGNS 2 жыл бұрын
Subgrid 😯
@bdrafik284vlogYoutube
@bdrafik284vlogYoutube Жыл бұрын
Good like
@dripcaraybbx
@dripcaraybbx 2 жыл бұрын
okLAB out here flexin on em
@MrgnUTube
@MrgnUTube 2 жыл бұрын
We want container queries!!!!
@meqativ
@meqativ 2 жыл бұрын
nice
@agent-33
@agent-33 2 жыл бұрын
Lots of new cool stuffs to make CSS easier. I hope these will lessen my hate for CSS.
@KangJangkrik
@KangJangkrik 2 жыл бұрын
Yo Adam Argyle, brother of Felix Argyle 🤟
@TNothingFree
@TNothingFree 2 жыл бұрын
すごいね!
Is .css a bad idea? Is inlining the way forward? | HTTP 203
24:50
Chrome for Developers
Рет қаралды 95 М.
Thinking on ways to solve BUTTONS
13:20
Chrome for Developers
Рет қаралды 42 М.
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 73 МЛН
Bringing page transitions to the web
12:57
Chrome for Developers
Рет қаралды 230 М.
6 things I wish I knew about CSS when I started
9:09
Kevin Powell
Рет қаралды 224 М.
What's new for the web platform
31:05
Chrome for Developers
Рет қаралды 114 М.
Top 10 Advanced CSS Responsive Design Concepts You Should Know
20:16
Web Dev Simplified
Рет қаралды 510 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 926 М.
Top 10 web things to know from Google I/O
6:10
Chrome for Developers
Рет қаралды 45 М.
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 448 М.
Keeping up with CSS: The features released in 2023
31:13
Kevin Powell
Рет қаралды 92 М.
10 modern layouts in 1 line of CSS
21:39
Chrome for Developers
Рет қаралды 1,1 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 1,1 МЛН
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 1,3 МЛН