What's new in web UI

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 195

  • @ChromeDevs
    @ChromeDevs  Год назад +27

    Want to learn more about these announcements? 🤔 Ask the Chrome Dev team in the comments below. 👇👇🏻👇🏿👇🏽 👇🏾👇🏼

    • @HtopSkills
      @HtopSkills Год назад +4

      Yes, I'm interested in learning more!
      What are some good resources that you would recommend?

    • @김인욱-u5q
      @김인욱-u5q Год назад +1

      Can all developers of chrome team remember all of these?

    • @oro5421
      @oro5421 Год назад +1

      Why isn’t there a :for selector for matching labels with inputs? :(

    • @Siddharthpandey27
      @Siddharthpandey27 Год назад

      Yes interested

    • @samanzakpur4144
      @samanzakpur4144 Год назад

      What about compatibility in the most common browsers?

  • @ragavkumarv
    @ragavkumarv Год назад +109

    Timestamps ✌
    00:00 - Intro
    01:15 - Container queries
    02:14 - Style queries
    02:59 - :has() selector
    04:48 - :nth-child of type
    05:19 - text-wrap: balance
    06:03 - initial-letter
    06:35 - Viewport units
    07:10 - Wide-gamut color
    07:47 - color-mix()
    09:18 - CSS Nesting
    09:47 - Cascade layers
    10:27 - Scoped styles
    11:09 - Trig.Functions
    11:28 - Ind.transforms
    11:55 - Individual.transforms
    12:47 - Popover
    13:38 - Anchor positioning
    14:45 - Selectmenu
    15:37 - Discrete animations
    16:28 - Scroll-driven animations
    16:55 - View transitions

  • @GhanashyamSateesh
    @GhanashyamSateesh Год назад +29

    Woohoo! All of the latest CSS developments in the past year compressed into one video! EXACTLY what the world needs! @Una, you're the best!

  • @mryechkin
    @mryechkin Год назад +38

    Finally a customizable select! Just as I finish building one with React Aria 😅

    • @nivoset
      @nivoset Год назад +1

      Im just starting with react aria. Lol

    • @none0n
      @none0n Год назад +1

      Do a re-write 😂

  • @PeterBernardin
    @PeterBernardin Год назад +44

    This is all so cool. So many of these I've been using complex javascript to do, for example the radial menus, doing my own trigonometry and stuff. It's great to see these things being implemented. At the same time it's bittersweet, because using these also would also leave a significant number of browsers (and therefore users) unsupported. I'll set a timer for a couple years to use these.

    • @UnaKravets
      @UnaKravets Год назад +5

      Trigonometric functions actually have wide browser support! Chrome was last -- web.dev/css-trig-functions/

  • @vilinskyy
    @vilinskyy Год назад +49

    CoverFlow without Safari support is a nice touch :)
    But seriously, the updates are impressive! Love to see accessibility details and small nuanced fixes 👌

    • @oskrm
      @oskrm Год назад

      Let Safari die already

  • @W4ldgeist
    @W4ldgeist Год назад +34

    "Look at these fancy features" -> developer gets excited, sees that Safari Support starts with 16 or not at all... realizes he has to wait another 2 years until less people use Safari 14.1 and is disheartened.

    • @JonahSteps
      @JonahSteps Год назад +2

      Don't be too disheartened. EU has provisionally passed a law that would force apple to allow other browsers not based on webkit on Apple devices. Once that happens, you'll see that with time support for webkit will not matter as much OR apple will be forced to develop faster to keep up with competition.

    • @vsevolodlnm
      @vsevolodlnm Год назад

      Babel

  • @arcanernz
    @arcanernz Год назад +17

    Love the new architectural foundations. Sass features in native css.

  • @realdaly
    @realdaly Год назад +4

    I wish you added some feature to check if an element is sticky to add styles for it, like a sticky navbar that changes background color when it's sticky.
    But, all in all you did such a great job !

    • @unakravets4368
      @unakravets4368 Год назад +4

      You're in luck 👀 sticky will be the first state implemented for state queries (it's on the roadmap, still a WIP spec and implementation)

    • @realdaly
      @realdaly Год назад

      @@unakravets4368 love that 🔥

  • @hyper_channel
    @hyper_channel Год назад +1

    wow so many amazing quality of life improvements packed here!

  • @drnicwilliams
    @drnicwilliams Год назад +8

    Fabulous summary of a wonderful set of new css features. It’s great to have less JS in my life.🎉

  • @AhmadAwais
    @AhmadAwais Год назад +28

    Awesome time to be a web developer, thank you Una.

  • @jackyiakovenko
    @jackyiakovenko Год назад +45

    selectmenu 🔥👌

  • @aram5642
    @aram5642 Год назад +7

    Cool stuff, but one major thing essential for form styling is still missing out in Chrome: subgrid support.

  • @laurencerawlings
    @laurencerawlings Год назад +7

    game changing updates

  • @nikkehtine
    @nikkehtine Год назад +2

    This is HUGE! I remember coming across a few issues fairly recently that would have been muuuuch easier to overcome with some of these new features presented here

  • @PeterSahanaya
    @PeterSahanaya Год назад

    The container queries are really handy especially you working on component based, it become really helpful

  • @AmxCsifier
    @AmxCsifier Год назад +5

    10 years ago this was all science fiction, amazing to see this much advancement.

  • @TheNewton
    @TheNewton Год назад +1

    🔥 10:23 controlling source order for the cascade. Gonna solve a lot of headaches on platforms that insist on injecting their own junk into it's hosting/theme system.

  • @omarjab
    @omarjab Год назад +3

    that's dope, i'm so happy about these new updates

  • @insinfo2008
    @insinfo2008 Год назад +1

    @Una Kravets
    finally being able to customize the Select dropdown will be wonderful, it is also necessary to be able to customize the input file, checkbox, radio button, the scroll bar, when will we see grid masonry supported in Chrome?

    • @unakravets4368
      @unakravets4368 Год назад +2

      Other inputs are planned after we land selectmenu. Masonry support didn't make it to interop features for 2023, but you can propose it for 2024

  • @Yorgarazgreece
    @Yorgarazgreece Год назад +3

    finally dynamic viewport units! The dynamic viewport was painful experience to overcome

  • @canarymultimedia
    @canarymultimedia Год назад

    Loooooong overdue. Can't wait to finally use these new features!

  • @StirlingHepburn
    @StirlingHepburn Год назад +1

    It would be nice if you updated the video description with all the links you QR coded! 😅

  • @VBDesignsable
    @VBDesignsable Год назад +3

    Finally this solution with 100vh, no messing around anymore for cross browser support. awesome. top layer also nice

  • @jenstornell
    @jenstornell Год назад +3

    What is the difference between dialog and popover and when should we use one or the other?

  • @AlexisDoroszkiewicz
    @AlexisDoroszkiewicz Год назад +5

    Can't wait for firefox to catch up so we can start using these..

  • @acidofil
    @acidofil Год назад +4

    so much cool helpful new stuff, thank you for a great video!

  • @krvns
    @krvns Год назад

    Great job Una! Great delivery!

  • @MichalSmolinsky
    @MichalSmolinsky Год назад +1

    Thank you, Una!

  • @iamfrankstallone
    @iamfrankstallone Год назад

    "I'll see you online" may be my new favorite catch phrase!

  • @yashsharmaji
    @yashsharmaji Год назад +3

    Neat features thought @CSS Nesting at 9:37 - didn't we do this in vanilla css before pre-compilers like sass and less got introduced?

    • @unakravets4368
      @unakravets4368 Год назад +2

      This was not possible before in vanilla CSS

    • @theman7050
      @theman7050 Год назад

      learn something properly before even thinking about starting a career in it.

  • @orlovsskibet
    @orlovsskibet Год назад +1

    So we are back to stufing logic deep into the layout and design?
    Got it 😄

  • @shaikshavalisyed2012
    @shaikshavalisyed2012 Год назад +2

    Love to see new features ❤.

  • @fai6702
    @fai6702 Год назад

    oh finally select menu update... !! awesome development. Thank you ! :)

  • @stokbrood
    @stokbrood Год назад

    Can't wait to use these in a couple of years

  • @vitezslavackermannferko7163
    @vitezslavackermannferko7163 Год назад

    8:31 I don't feel like this math for mixing colors makes sense. Usually when you mix something, you get 50% of each. Therefore it makes sense that when you mix an opaque blue and 10% transparent red, you end up with 50% blue, 50% red, 5% transparent color.

  • @Thisguyrocks518
    @Thisguyrocks518 Год назад

    A lot of great features. Wow!

  • @greenya84
    @greenya84 Год назад

    Awesome! I envy already future web developers :)

  • @nro337
    @nro337 Год назад +1

    Super exciting stuff!

  • @notnk7
    @notnk7 Год назад +1

    when will the updates roll out?

  • @alemon4126
    @alemon4126 Год назад

    I just want the damn and to be part of the properties for every tag and not be a standalone tag for gods sake

  • @guled669
    @guled669 Год назад +1

    The CSS :has property have saved my life this week

  • @andrewwoan
    @andrewwoan Год назад

    LET'S GOOOOOOOOOOOOOOOOOOOOOOO!

  • @SirusStarTV
    @SirusStarTV Год назад

    Awesome additions!

  • @VarunGupta3009
    @VarunGupta3009 Год назад

    Amazing developments as always!

  • @alex_3D_websites
    @alex_3D_websites 9 месяцев назад

    Is there anything interesting that has been added to CSS after this video?

  • @quintencabo
    @quintencabo Год назад

    I love those new viewport units

  • @edu.paixao
    @edu.paixao Год назад

    Amazing content!

  • @mateusvahl5072
    @mateusvahl5072 Год назад

    So coooool👏

  • @gorilla-san
    @gorilla-san Год назад +2

    Dynamic viewport height finally, gosh. {insert Michael thank-you.gif}

  • @marians5015
    @marians5015 Год назад +2

    Wonderful

  • @MizManFryingP
    @MizManFryingP Год назад

    This is incredible!

  • @mrunavailable5868
    @mrunavailable5868 Год назад

    An Ability I think you can add and If you add this I would like 1% profit from all clicks from now on, but adding a hovering feature where hovering a link can display a smaller sized display showing the page you are hovered over and you are allowed to scroll up and down through the page and as the mouse reacts within the window, as soon as you click an animation brings you into that page whether you selected a new page from that initial page or not. now with the rest of the UI I am glad to see innovation to celebrities pages when searched very clean an easy to read!

  • @maissatouili9544
    @maissatouili9544 Год назад

    well done !

  • @indianfootball2328
    @indianfootball2328 Год назад

    is there a css to display custom page numbers when we print the page for dynamic content

  • @meepk633
    @meepk633 Год назад

    Balance is so cool.

  • @j1gm1
    @j1gm1 Год назад +1

    this is amazing

  • @harisonfekadu
    @harisonfekadu Год назад

    WOOOOOW!!! I can't wait 😄

  • @paramsingh4104
    @paramsingh4104 Год назад

    Amazing to see Chrome taking Open source initiatives to make the web better!
    Sad how Firefox has the least adoption!

    • @lamka02sk
      @lamka02sk Год назад

      Firefox follows the web standard, Google makes their own, just like MS did with IE

  • @igugadev
    @igugadev Год назад

    can I access the presentation please?

  • @dmitryburlakov6920
    @dmitryburlakov6920 Год назад

    Will it be possible to use colour mix with CSS and SVG-CSS blend modes? I did quite a lot of experiments and noticed that in Safari the colours are just popping, whereas Chrome and Firefox turning them into gray mess supposedly because of linear sRGB interpolation.

    • @UnaKravets
      @UnaKravets Год назад

      Can you send a reduced test case? Are you trying to use color-mix() or blend modes?

  • @freeyoutube216
    @freeyoutube216 Год назад

    It might sound wierd but... what is webUI? is it a new frontend framework, I have searched for this but I cant find anything such as google webUI

    • @unakravets4368
      @unakravets4368 Год назад

      Web UI = Web user interface (development)

  • @Lavah
    @Lavah Год назад +6

    FINALLY Display: none animation support

  • @jurrich
    @jurrich Год назад

    Are there transcripts or accompanying blog posts?

    • @UnaKravets
      @UnaKravets Год назад +1

      Yes! developer.chrome.com/blog/whats-new-css-ui-2023/

  • @kjhank
    @kjhank Год назад

    Hey, what's that monospace font in the examples?

  • @john.dough.
    @john.dough. Год назад

    Great presentation! Very clear and precise!

  • @JiveOff
    @JiveOff Год назад

    So CSS really is turning into a turing complete paradigm, interesting

  • @SirusStarTV
    @SirusStarTV Год назад

    What also needed is the ability to turn off antialiasing in *CanvasRenderingContext2D*
    People don't need to always draw smoothed primitives. It's impossible to draw crisp ui when antialiasing turned on by default.

  • @enveralbarad
    @enveralbarad Год назад

    all of this only available for chrome rite?

    • @unakravets4368
      @unakravets4368 Год назад

      There are browser support tables on most of the slides!

  • @shriprasanna3918
    @shriprasanna3918 Год назад +1

    Finally a select menu . goddamn .

  • @hanibioud
    @hanibioud Год назад

    Which we could have a search inside the select element without third party..

  • @jamescat2386
    @jamescat2386 Год назад +2

    nice use of the word 'duplicitous'

    • @UnaKravets
      @UnaKravets Год назад +1

      Fun fact: filming day was the day I learned how to actually pronounce it correctly 😆

  • @supTE
    @supTE Год назад

    10:59 What's the use of CSS scope here? As we have CSS nesting and we can do the same using it?

    • @quietfox157
      @quietfox157 Год назад +1

      Scoped styles limit the number of elements that get affected by CSS. I think it's very close to what BEM does. With scoped styles you have a way to change the title of an article without changing the title of other components. But I'd also need more explanation on this how exactly this works.
      Nesting on the other hand doesn't change what CSS does, it's just a shorthand to write less CSS.

    • @supTE
      @supTE Год назад

      @@quietfox157 What if we use same selector, (here [data-theme="light"]) and put necessary CSS nested under that. Isn't it brings the same usage use as scoped styles?

    • @quietfox157
      @quietfox157 Год назад +1

      @@supTE Let's say we have Hello 1Hello 2. "Hello 2" would be inside a dark container inside another light container, "Hello 1" is only in a light container. The selector "[data-theme="light"]" does affect everything inside that element: The paragraphs "Hello 1" and "Hello 2". If you use scopes CSS knows that starts a new scope and stops affecting its content. So, @scope ([data-theme="light"]) does only affect the paragraph "Hello 1" but NOT "Hello 2". So, with scopes you can tell CSS "stop right here! Don't go further down the DOM". This is not possible without scopes. Or this why things like BEM were invented.

    • @supTE
      @supTE Год назад

      @@quietfox157 Got it. Thanks for the explanation. 😃

  • @damar1967
    @damar1967 Год назад +1

    These are too good 😭

  • @Anghor
    @Anghor Год назад

    Remeber last year and your shouts about subgrid? Gues what? We're still waiting ;-)

    • @UnaKravets
      @UnaKravets Год назад +1

      It's coming soon!

    • @Anghor
      @Anghor Год назад

      @@UnaKravets 113 or 130 rather? 😉😁

  • @UGPepe
    @UGPepe Год назад

    ah, the forever close-but-not-there-yet UI platform, almost able to make a dropdown with it

  • @Thekidisalright
    @Thekidisalright Год назад +3

    @kevinPowell i would love to hear your thoughts (:

    • @xali2008
      @xali2008 Год назад

      he already covered a lot of these new features, container queries, viewport units, style queries, new CSS pseudo-classes :has() , nth-child new popover and ...

  • @shenawy04
    @shenawy04 Год назад +1

    9:18 damn, really killshot SCSS here lol

    • @quietfox157
      @quietfox157 Год назад

      Not really. You cannot do ".foo { &__bar { ... } }" to make the selector ".foo__bar". But with @scope there might not be a need to use BEM anymore. Also, I'm still missing a CSS built-in alternative to mixins.

    • @shenawy04
      @shenawy04 Год назад

      @@quietfox157 man I haven't written actual CSS in a long time, now I tailwind everything

    • @quietfox157
      @quietfox157 Год назад

      @@shenawy04 same here actually. But let’s see how all this develops. Also, the more features CSS gets the more complex Tailwind gets. Let’s see how they implement all that.

    • @shenawy04
      @shenawy04 Год назад +1

      @@quietfox157 really exciting stuff happening nowadays!

  • @trkishh
    @trkishh Год назад

    Holy moly, being able to animate from display none will be so nice

  • @barjo_
    @barjo_ Год назад

    Does anyone know what monospace font is used for the code in this presentation?

    • @UnaKravets
      @UnaKravets Год назад +3

      It's called Google Sans Mono

    • @barjo_
      @barjo_ Год назад

      @@UnaKravets Great font, thanks Una. And great job on the video 👍

  • @NerveClasp
    @NerveClasp Год назад +2

    Whoa! So much great stuff! Thanks for a great video, Una, as always!)
    З.і.: пасхалочку з кольорами українського прапору помітив)) Дяки)) Все буде Україна!)

  • @kenwood7195
    @kenwood7195 Год назад

    When did Google seize control of the Internet from w3c?

    • @unakravets4368
      @unakravets4368 Год назад

      All of the APIs implemented go through the w3c standards process

    • @kenwood7195
      @kenwood7195 Год назад

      @@unakravets4368 Good to see you check it with the Google staff at w3c. The Internet is now owned by .

  • @ievgeniibielkin
    @ievgeniibielkin Год назад

    I don’t come u with use cases when to use color-mix

    • @quietfox157
      @quietfox157 Год назад +1

      Mixin transparency into an opaque color, like mentioned in the video. Mixin a color with black or white sounds usefull. Or mixing a font color with it's background which is not black, white or gray. I do have some ideas how to use it.

  • @igugadev
    @igugadev Год назад

    Firefox is the new IE 😅 there are several APIs without support.

  • @felixmildon690
    @felixmildon690 Год назад

    Why firefox supporting nothing? Are they being squeezed out the the browser market?

  • @StarOnCheek
    @StarOnCheek Год назад +3

    I am not sure how I feel about adding runtime support for things that were ment to execute at build-time (like CSS scopes) and native support for common components like popover (which is not even an element) or selectmenu.
    What happens if these features fall out of fashion? What happens if we need something new? The advantage of managing this with JS was that the developers could extend a ~~minimalist~~ already bloated set of elements with whatever they needed and have complete control over it.
    Edit: I am starting to suspect that Google is trying to bloat and slow down the web platform to make Flutter a more attractive option

    • @_danisson
      @_danisson Год назад

      I dont know what you mean about flutter, in web ??

    • @StarOnCheek
      @StarOnCheek Год назад

      @@_danisson web as well, but more importantly, native apps which have seen an increase in webview-based UI recently. I wonder if there is some evil plan to replace HTML with flutter completely somehow and lock everyone in

    • @RichardDavey
      @RichardDavey Год назад +1

      I'm not sure modals or select lists are going out of fashion any time soon, given they've been around in OS UIs for 40 years now. No one is forcing us to use 'popover'. Can still crank out the JS reinvention wheel if we want to.

    • @StarOnCheek
      @StarOnCheek Год назад

      @@RichardDavey I know no one is forcing them but it also doesn't make sense not to use them right now. They are pretty good for the current purpose. It is just that some aspects of intended behavior might change in a way we cannot foresee now so we might have to jump back to JS and have the code for these elements sitting around in the webview for no reason much like other deprecated html features. And if you do want to make the argument that some elements should have native support, how do you know when to stop? Why not implement tab lists or tree views natively? What about something like a 'chat view' with semantic markup for different chat members? Also if they start doing that, would we be expected to wait for vendors to release native implementation of all new UI elements we discover before we can use them "properly"?

    • @dmitryburlakov6920
      @dmitryburlakov6920 Год назад

      Disagree kind of. The amount of workaround we have to do today is certainly a larger overhead comparing to more customization friendly components. Styles reset, double renders (“visual” selection box and real one), compatibility styles, et cetera. It’s just more to parse and execute in slow interpretable environment.
      Another thing I would be looking into is allowing labels to have block children. It’s so common for the radio elements to have a larger actionable flex box around them. If we can avoid modifying bunch of spans to do what they don’t supposed to be doing, what’s the drawback?

  • @techlifejournal
    @techlifejournal Год назад +1

    Why dom manipulation is only limited to JS? We need browser to support direct calling of Web apis without js

    • @quietfox157
      @quietfox157 Год назад

      What APIs for example and how would you "call" them? HTML and CSS cannot "call" anything.

  • @craigiswayne
    @craigiswayne Год назад +1

    how do i super like a video?!

  • @Zorrle001
    @Zorrle001 Год назад

    is the background and the room legit or fake? xD

  • @ievgeniibielkin
    @ievgeniibielkin Год назад

    finally no need SASS for css nesting

  • @MikeNugget
    @MikeNugget Год назад

    Nice!
    But still no `:wrapped` pseudo selector for elements which are wrapped while resizing the parent element (flexbox, grid, inline). This feature has been requested for over 10 years, check stackoverflow please.

    • @UnaKravets
      @UnaKravets Год назад +1

      Can you share a link for some context?

  • @manuelvega.
    @manuelvega. Год назад

    Prooooo

  • @budawski
    @budawski Год назад

    text-wrap: balance is HUUUGE 5:40

  • @none0n
    @none0n Год назад +1

    display: none is the reason a lot folks are using animation libraries 😁

  • @seth111yta1
    @seth111yta1 Год назад

    I probably wont live long enough to see Safari and FF to implement this lol

  • @Linuxdirk
    @Linuxdirk Год назад +1

    We now have math and try/catch mechanics in CSS ... 😂👌

  • @nholmes86
    @nholmes86 Год назад

    Ah ok so this video is for the developers..I was not getting!!

  • @tostane
    @tostane Год назад

    sTOP allowing popup windows asking for passwords and such

  • @jugibur2117
    @jugibur2117 Год назад

    Unfortunately, Safari and especially Firefox hang far behind, but I continue to hold to the weak, sorry Chrome.