Introduction to Container Queries

Поділитися
Вставка
  • Опубліковано 3 жов 2024
  • Container queries provide much more flexibility for styling children. Here's a brief overview.
    🔗 Key Links 🔗
    Github: github.com/cod...
    MDN docs: developer.mozi...
    ---------------------------------------
    🌐 Connect With Me 🌐
    Website: codinginpublic...
    Blog: chrispenningto...
    Twitter: / cpenned
    Patreon: / coding_in_public
    Buy Me a Coffee: www.buymeacoff...

КОМЕНТАРІ • 11

  • @naranyala_dev
    @naranyala_dev 4 місяці тому +5

    modern css is another level programming language

  • @jjaimealeman
    @jjaimealeman 4 місяці тому +1

    Dang, 😮 makes SSSOOO much more sense how that works.

  • @mhewson
    @mhewson 4 місяці тому

    and/or you can use fluid type scales to do this magically with your container units

  • @Atractiondj
    @Atractiondj 4 місяці тому

    @container-style is a must-have, is a mixin in vanilla CSS, but browser support make a B-JOB

  • @Vanderhart
    @Vanderhart 4 місяці тому +1

    Great! Makes sense to me :) Do u have a video about working with px to rem and a clamps with rems? And scaling the typo. Thanks

  • @alexandre_b2g
    @alexandre_b2g 3 місяці тому

    Great stuff! I'll try it out tomorrow ;)

  • @endritibra4351
    @endritibra4351 3 місяці тому

    Great explanation!

  • @JehovahsaysNetworth
    @JehovahsaysNetworth 4 місяці тому

    1:53
    Why not just [style].box{width:100%;height:100%;}[/style] [div]img src class=box[/div]