Create a cool bubble zoom effect with CSS

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

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

  • @MyDpop
    @MyDpop 10 месяцев назад +54

    transition: grid-template-columns 🤯

  • @LePhenixGD
    @LePhenixGD 10 месяцев назад +19

    11:30 Holy cow I didn't knew that track to select the direct previous element!!!

    • @watchvid
      @watchvid 10 месяцев назад

      It’s brand new so I wouldn’t use it for another few years

    • @awara_coder0799
      @awara_coder0799 10 месяцев назад

      Yya

  • @nikolaidimentiev9807
    @nikolaidimentiev9807 10 месяцев назад +5

    best CSS channel i am aware of!!!!

  • @michaldimitrov3233
    @michaldimitrov3233 10 месяцев назад +7

    I really like the new format. Just quickly dip in and see bits of what is possible works great for me.

  • @daveturnbull7221
    @daveturnbull7221 10 месяцев назад +1

    This format really helps me grasp the points you're focusing on Kevin so definitely more please. I think this has a lot of potential for use in a graphical menu system - I need to go have a play around with that idea 😁

  • @wedepohl
    @wedepohl 10 месяцев назад +1

    Thank you Kevin ... love to see your thought process as you fix the "features" from the initial code. Keep it up ... I would love to see more of this.

  • @DevelTime
    @DevelTime 10 месяцев назад

    You really have a talent to put in one not too long video great content, and clearly explained. I don't know if I use the effect as a whole, but learning ingredients is very helpful. Thank you for your work.

  • @clevermissfox
    @clevermissfox 10 месяцев назад +4

    Awesome! This reminded me to check on overflow-clip-margin support, I’m so excited for that property!
    If anyone’s curious, it’s not supported at all in safari and has partial support everywhere else (supported only when using ‘overflow: clip’ on both axes). Come on safari!!

  • @marielemaitre5006
    @marielemaitre5006 10 месяцев назад

    I finally bought your merch! One tee, one tank and a toddler tee for my daughter ^^ we'll match, can't wait to get these in France!
    Thanks for the video. These are the kind I prefer, I learn best watching an expert do and explain what's happening.

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

    It's great to see this... It's the best css tutorial I've ever seen.

  • @taariqq
    @taariqq 10 месяцев назад +1

    Zoran was happy to hear that you recommended his video on fonts.

  • @RobertMcGovernTarasis
    @RobertMcGovernTarasis 10 месяцев назад

    Definitely up for more of this style especially if you enjoy it. Good to mix it up :)

  • @CoderGeek-u6m
    @CoderGeek-u6m 10 месяцев назад

    I actually figured this out while helping my friend on his project. It was and awesome research for it.

  • @craftwithfatima4146
    @craftwithfatima4146 10 месяцев назад

    The grid template columns thing blew my mind

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

    I love it so much,Thanks alot kevein😍

  • @meso9497
    @meso9497 10 месяцев назад +8

    Next topic: magnifying glass cursor 😃

  • @alanlewis1625
    @alanlewis1625 8 месяцев назад

    Hi Kevin, another great video. And yes, that format is really nice. Also, I wonder whether you might do an occasional video relating to web application CSS and techniques. E.g. Forms, displaying data in tables, master -> data drill down?? Just a thought. Your videos are very informative and useful, but there is a heavy leaning toward "marketing" style of web content. An occasional perspective on using modern CSS with a more "application" leaning would be very much appreciated. What do you think?

  • @brx-hashcode
    @brx-hashcode 10 месяцев назад

    You’re the king 🤴🏾 of css damn Kevin 🥶

  • @DasunSenanayake
    @DasunSenanayake 10 месяцев назад

    Thank you Kevin. This is very helpful 🙏

  • @ronendavid8842
    @ronendavid8842 10 месяцев назад

    Thank you Kevin. very helpful, give us more pls

  • @deadlyecho
    @deadlyecho 10 месяцев назад +1

    Can you transition the gap and z-index to get that overlapping thing with flex ? Dunno need to try this...

  • @eeee29523
    @eeee29523 10 месяцев назад

    Thanks, really helpful! 😀

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

    Thank you powell ♥️

  • @RandomGeometryDashStuff
    @RandomGeometryDashStuff 10 месяцев назад

    01:28 why border-radius:100vw (seems like makes .avatar circle unless avatar width/2 < viewport width)?
    also why box-shadow depend on font-size (rem unit) but not border?

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

    At the end part. When you have the horizontal scrolling, instead of the scroll bar, is it possible to have like an arrow button at the left side of the avatars, and by clicking on it. It will move to the next avatar to the left while the firat avatar on the right will dissappear. and when all avatars are over, to repeat from the 1st avatar ? ... and same for the right side ?
    Only because it would look better I think 😮

  • @LePhenixGD
    @LePhenixGD 10 месяцев назад

    1:30 Fun fact: You can use clip-path: circle() in order to create a circle without using the border-radius property

    • @KevinPowell
      @KevinPowell  10 месяцев назад +3

      Yup! Can come in handy, and might even be a bit more descriptive... only issue is you can't have a border with it as well then, or box-shadows, both of which I wanted on these :)

    • @markboots_
      @markboots_ 10 месяцев назад

      then the box-shadow and border would not work properly

  • @gudhijagadeeshkumarnaidu4803
    @gudhijagadeeshkumarnaidu4803 10 месяцев назад

    Hi kevin, I have tried to solve the challenge with the help of column-gap but the problem here is immdiate snap of the animation when my is hover is removed/taken off. How to avoid immediate snapping for the animation I have given to the column-gap property?

  • @deatho0ne587
    @deatho0ne587 10 месяцев назад

    :has(), :where() and :is() are so great and are 100x better than pre-years
    transition: grid-template-columns/rows; // Is there any issues with slow down on that like a few of the transitions? Even if it is bad might still use it over a JS solution.
    Like this and talking about new things. Stuff in the brain as long as it fits is always nice fallback.

  • @deepgread6962
    @deepgread6962 10 месяцев назад

    Thank you powell for informative video😊

  • @kiravolvo
    @kiravolvo 10 месяцев назад

    love the video. thank you

  • @Gemeinzam
    @Gemeinzam 10 месяцев назад

    Nice to learn from you Thanks alot !

  • @ricseeds4835
    @ricseeds4835 10 месяцев назад

    What channels does the CSS king watch? What other resources (books, sites etc) do you use?

  • @krateskim4169
    @krateskim4169 10 месяцев назад

    Awesome content

  • @starmadmix9045
    @starmadmix9045 10 месяцев назад

    damn i learned 2 things from this and this is super cool

  • @punkmonkeyKenpo
    @punkmonkeyKenpo 10 месяцев назад

    how would you get the overlap on the collapse to be reversed? Left most on top.
    your videos are amazing. thank you.

  • @yhtsscienceknowled3915
    @yhtsscienceknowled3915 10 месяцев назад

    Do you have a personal website.

  • @mushuplatypus
    @mushuplatypus 10 месяцев назад

    Very nice, thank you

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

    I am just wondering when css will replace gsap for all animations?!

  • @scottborrowman
    @scottborrowman 10 месяцев назад

    Couldn't you use grid-auto-flow: column; and grid-auto-columns: var(--column-size); so you don't have to worry about the repeat number?

    • @KevinPowell
      @KevinPowell  10 месяцев назад

      That's a very good point, I should have thought of that 😅 - EDIT: I just tested it, and grid-auto-columns isn't animatable, so it doesn't work

    • @scottborrowman
      @scottborrowman 10 месяцев назад

      @@KevinPowell Ah, bummer! I was curious about that which is the reason it was a question and not a statement hah.

  • @k16e
    @k16e 10 месяцев назад

    Meet CSS, the programming language for creating cool effects like this one (on the web).

  • @JammieDragon2319
    @JammieDragon2319 10 месяцев назад

    I've tried this and the images aren't overlapping

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

    Plz do this with flex
    I am a bit confused with var and grid

  • @BryceDriesenga
    @BryceDriesenga 10 месяцев назад

    Are there any clever ways to get a count of elements with pure CSS?

  • @חייםמלוב
    @חייםמלוב 10 месяцев назад

    Awesome video!
    Q: Wouldn’t grid-auto-flow: column and grid-auto-column: var(-column-size) work the same without the hard coded count? Would the transition work on the column size?

    • @KevinPowell
      @KevinPowell  10 месяцев назад

      yeah, I didn't think of that for some reason! But I just tested it, and it doesn't animate.

    • @markboots_
      @markboots_ 10 месяцев назад

      unfortunately there is no transition for grid-auto-column

  • @sameneko8979
    @sameneko8979 10 месяцев назад

    god level css

  •  10 месяцев назад

    Awesome!

  • @carolmckay5152
    @carolmckay5152 10 месяцев назад

    I like it

  • @JonSanders
    @JonSanders 10 месяцев назад

    This is cool. Although mobile is amazing, it would be so awesome for design stuff if folks only used desktop.

  • @markboots_
    @markboots_ 10 месяцев назад

    To bad we can't transition grid-auto-columns: var(--column-size),
    In that case we could've used grid-auto-flow: column instead of a fixed avatar-count

  • @aregawiwelejiorgs1150
    @aregawiwelejiorgs1150 10 месяцев назад

    amazing

  • @emmamwiririza3015
    @emmamwiririza3015 10 месяцев назад

    Awesome

  • @o_o_f_c_i4822
    @o_o_f_c_i4822 10 месяцев назад +1

    Great

  • @_zer09_
    @_zer09_ 10 месяцев назад

    hover reminds me of the the mac menu bar

    • @KevinPowell
      @KevinPowell  10 месяцев назад +1

      You could do some nicer easing, and have it stretch over more elements, and have something pretty well matched to that I think :)

  • @rajmohan9108
    @rajmohan9108 10 месяцев назад

    Neat❤

  • @ssarosh1
    @ssarosh1 10 месяцев назад

    Great 🎉🎉🎉🎉

  • @merzaad
    @merzaad 10 месяцев назад

  • @Stoney_Eagle
    @Stoney_Eagle 10 месяцев назад

    The has selector feels like cheating 😂

  • @kianooshsoleimani5472
    @kianooshsoleimani5472 10 месяцев назад

    👍👍👍👍❤❤😍😍

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

    In a few years, we might not need JavaScript anymore.

  • @m12652
    @m12652 10 месяцев назад

    Great stuff... but codepen sucks on an ipad. Its so clunky...

    • @KevinPowell
      @KevinPowell  10 месяцев назад

      yeah, it's not ideal on touch devices...

  • @dankierson
    @dankierson 10 месяцев назад +1

    So we get 2 stupid ads now before each video . . . 😡

  • @davegreen7853
    @davegreen7853 10 месяцев назад

    Can. you show how to make the blocking function on a chat app >?

  • @slaurent
    @slaurent 10 месяцев назад

    ok but do i need to check @supports(@supports) first 😅