Create a cool bubble zoom effect with CSS

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

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

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

    transition: grid-template-columns 🤯

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

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

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

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

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

      Yya

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

    best CSS channel i am aware of!!!!

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

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

  • @clevermissfox
    @clevermissfox 6 месяцев назад +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!!

  • @daveturnbull7221
    @daveturnbull7221 6 месяцев назад +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 6 месяцев назад +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.

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

    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.

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

    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.

  • @user-dk5ek9nt2m
    @user-dk5ek9nt2m 6 месяцев назад

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

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

    Next topic: magnifying glass cursor 😃

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

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

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

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

  • @farhan-app
    @farhan-app 6 месяцев назад

    I’m loving these component tutorials!! PLEASE KEEP IT UP!!!

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

    The grid template columns thing blew my mind

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

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

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

    I love it so much,Thanks alot kevein😍

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

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

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

    Thank you Kevin. very helpful, give us more pls

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

    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?

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

    Thank you powell ♥️

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

    Thanks, really helpful! 😀

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

    Thank you Kevin. This is very helpful 🙏

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

    Thank you powell for informative video😊

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

    :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.

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

    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 😮

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

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

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

    Awesome content

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

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

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

    love the video. thank you

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

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

    • @KevinPowell
      @KevinPowell  6 месяцев назад +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_ 6 месяцев назад

      then the box-shadow and border would not work properly

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

    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?

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

    Nice to learn from you Thanks alot !

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

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

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

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

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

    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?

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

    Very nice, thank you

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

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

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

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

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

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

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

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

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

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

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

    Great

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

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

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

    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

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

    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  6 месяцев назад

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

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

      unfortunately there is no transition for grid-auto-column

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

    god level css

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

    Awesome!

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

    I like it

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

    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  6 месяцев назад

      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 6 месяцев назад

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

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

    Do you have a personal website.

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

    amazing

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

    hover reminds me of the the mac menu bar

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

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

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

    Awesome

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

    Great 🎉🎉🎉🎉

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

    Neat❤

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

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

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

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

    The has selector feels like cheating 😂

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

    👍👍👍👍❤❤😍😍

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

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

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

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

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

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

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

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

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

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