Can I Create This Simple CSS Hover Animation?

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

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

  • @beinyourguard
    @beinyourguard 2 года назад +73

    love these series, the way you approach problems really creates a way for us to understand and tackle problem on our own

  • @rotorial8740
    @rotorial8740 2 года назад +43

    I love the CSS re-creation videos, don’t stop creating these! These are very fun to watch as a programmer and entertain me a lot

    • @andradegilmar
      @andradegilmar 2 года назад +3

      Warning ⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @mildmuffin101
    @mildmuffin101 2 года назад +10

    Maaan these videos are addictive, great job mate. I think you should add a section where you go through the code of the original demo and show us how the person approach the problem different to you and again great video

  • @theatypicaldeveloper
    @theatypicaldeveloper 2 года назад +2

    great work, loved the way you've captured the implementation attempts.

  • @incubusholic
    @incubusholic 2 года назад

    i love that you created re-created CSS creation.

  • @user-not-found-97
    @user-not-found-97 2 года назад +3

    Useful content as always.. By the way we can type var by only typing -- instead of typing whole var. It's okay if you guys know already this

  • @Xeratas
    @Xeratas 2 года назад +2

    that was extremly great video. would watch more of this

    • @andradegilmar
      @andradegilmar 2 года назад +1

      Warning ⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @yoavben-dror5686
    @yoavben-dror5686 2 года назад

    just wanna say I know nothing about web, CSS, javascript, or Html but I watched the whole video while not understanding anything and I enjoyed it

  • @carlocb
    @carlocb 2 года назад +1

    Well done!

  • @jsherborne92
    @jsherborne92 2 года назад

    Fantastic content, big fan of the live sessions, really insightful for learners!

  • @OmarJIBAR
    @OmarJIBAR 2 года назад

    These series are super informative. Thanks a lot 👍

  • @Leada
    @Leada 2 года назад

    Thanks so much for the series :) can we get a "hmm hmm hmm"-counter for the next one xD

  • @ahndeux
    @ahndeux 2 года назад

    These videos are very interesting because it shows your thought process in the making of the animations. The issue is you need to slow down 10x for most normal human beings.

  • @StellarWeb008
    @StellarWeb008 2 года назад

    In the beginning I had zero idea about how to make this animation. And when you said that we can use only one element my reaction was "wow!! but How!!"

  • @noahr1545
    @noahr1545 2 года назад +1

    I love these videos! I've learned so much from you! Thanks!

    • @thegodlydemon2605
      @thegodlydemon2605 2 года назад

      Warning ⚠️⚠️⚠️ this is not kyle ☝🏾

  • @ceasargamiing
    @ceasargamiing 2 года назад

    that was really awesome

  • @Crowbar
    @Crowbar 2 года назад

    I love how many times he says "So nothing is changing which is exactly what we want"

  • @erikslorenz
    @erikslorenz 2 года назад

    I like this stuff. Awesome!

  • @keremardicli4013
    @keremardicli4013 2 года назад

    This is what I like about css. No one is perfect with it. :D

  • @ninjacodertech
    @ninjacodertech 2 года назад

    these videos are great!

  • @jklmmop
    @jklmmop 2 года назад +6

    Perhaps a thought for a video or future videos; You mentioned doing it all in CSS as a challenge, my first thought was how else would you approach it. So the video idea might be how to create that in various ways... just an idea. Awesome video! Thanks

    • @koengreen2540
      @koengreen2540 2 года назад +1

      You could create a class in js. And do it with that.

  • @schlingelgen
    @schlingelgen 2 года назад

    Title: Simple Hover Animation
    Video Intro: See how I approach complex problems

  • @avneet12284
    @avneet12284 2 года назад

    Superb stuff, Kyle - took me a while to understand how the split text::after was working with bottom and flex 💪

  • @hassaneoutouaya
    @hassaneoutouaya 2 года назад

    THANK YOU!

  • @evee9498
    @evee9498 2 года назад

    I love this VDO

  • @lilrex2015
    @lilrex2015 2 года назад

    I love these videos. This was 40 min well spent. I would suggest tho, maybe break it into 2 parts. Part 1 where you just make it work and part 2 where you refine the code so the videos arent so long. Just a thought.

  • @hurleywflow2227
    @hurleywflow2227 2 года назад

    Thanks 🙏🏼

    • @andradegilmar
      @andradegilmar 2 года назад

      ⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @mghafari4871
    @mghafari4871 2 года назад

    Wow lets gooo😍😍❤💚

  • @BenRogersWPG
    @BenRogersWPG 2 года назад

    This is the best!

  • @tuynpham308
    @tuynpham308 2 года назад

    great tutorial ! :)

  • @4gentY
    @4gentY 2 года назад

    Good to know that even an experienced dev still has no idea what's going to happen when they refresh the page

  • @utvikler-no
    @utvikler-no 2 года назад

    At 25 and 36 min.. you can add transition on both the before and after cssquery.. It will then animate back and forth ..
    Btw thanks for a good tutorial

  • @MK-hd6oj
    @MK-hd6oj 2 года назад

    @Web Dev Simplified, at 7:00, is it possible that you have lesser than half of the text showing up bcoz your font-size was set to 1.5rem ( at 3:10 ), so half the height is actually 0.75rem and not 0.5em ?

  • @matiasalejandromab
    @matiasalejandromab 2 года назад

    in the original page, how does the bar that splits the text in half slows down as it reaches the end of it´s length? it´s not like it appears in the center of the text and expands to the end at a regular speed, but instead it is faster in the beginning and slower at the end.

  • @kumarsaurav2901
    @kumarsaurav2901 2 года назад

    What is the extension that brought animation attribute with its potential parameters names?

  • @youssefabdulaziz2133
    @youssefabdulaziz2133 2 года назад

    adding "alternate-reverse" to the animation would solve the reversing problem or save you the hustle sorta say right?

  • @DGronki
    @DGronki 2 года назад +5

    Without line inside we can achieve the same by using clip-path in one single html element

    • @andradegilmar
      @andradegilmar 2 года назад

      Warning ⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @thegodlydemon2605
    @thegodlydemon2605 2 года назад +1

    How do u find the motivation to continue when you do a project ?

    • @andradegilmar
      @andradegilmar 2 года назад +1

      Warning ⚠️⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @filipm8069
    @filipm8069 2 года назад

    Wow stumbled on your channel a few days ago, great work, love how well you tell about what you are doing!

  • @sneaky-Jay
    @sneaky-Jay 2 года назад

    I do not think this is a failed attempt cuz for navigation inside the list elements you would have still had to put the anchor tags so the navigation would point you somewhere sooo this is actually straight good for production... just replace spans with anchor tags :D.

  • @alincupunct
    @alincupunct 2 года назад

    How can you link to an URL when clicking one of the list items? I tried data-url inside the , doesn't seem to work, adding an tag breaks the animation.

  • @theideaguy4532
    @theideaguy4532 2 года назад +1

    After watching this, I’m going to change my CSS skill level on my resume from Intermediate back to beginner... Cos I obviously don’t know shit😂

  • @arischvaranpuvanesvaran8875
    @arischvaranpuvanesvaran8875 2 года назад

    Kyle - "Now nothings changing that's exactly what we want".
    Me - Huh?

  • @CulturalToast
    @CulturalToast 2 года назад

    Couldn't you have used clip-path to show the bottom half of before and top half of the element instead of messing around with the half height, and later creating another element?

  • @skillzorskillsson8228
    @skillzorskillsson8228 2 года назад

    Another way to remove half of text is by using -webkit-mask. Not sure if that would make it easier but thats another way to do it atleast

  • @start662
    @start662 2 года назад

    Why would you give the li's and ul classes if you can just select the element?

  • @attorneyBG
    @attorneyBG 2 года назад

    Please show how to make complex form with css like the Schengen visa application form.

  • @penguin3427
    @penguin3427 2 года назад

    good vid

  • @gastonkonstantinides9926
    @gastonkonstantinides9926 2 года назад +1

    Could it work the first way if you use a transparent gradient? I think it would be easier 🤔

  • @diyuksh
    @diyuksh 2 года назад

    You actually sometimes have to add transition on the non hover and the hover state

    • @andradegilmar
      @andradegilmar 2 года назад

      Warning ⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @MelTurner
    @MelTurner 2 года назад +4

    To avoid having to change the HTML to add the split line, you could have used the background with a linear-gradient as the third element with both ::before and ::after
    ```
    background: linear-gradient(
    to bottom,
    transparent 45%,
    var(--hover-color) 45% 55%,
    transparent 55% 100%
    );
    color: transparent;
    ```

  • @mvrius4
    @mvrius4 2 года назад +1

    When I see all those cool things done in CSS I'm feeling like a beginner =))

    • @andradegilmar
      @andradegilmar 2 года назад

      Warning ⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @tim_fully
    @tim_fully 2 года назад

    You lost me when you said css lol.
    Was good watching to you try to figure it out on the fly 👌

  • @jamespashton
    @jamespashton 2 года назад

    What about a clip path on the ::before, ::after and a text-decoration: line-through; on your li it would accomplish what you wanted without any extra html

    • @willexco2001
      @willexco2001 2 года назад

      I agree about clip path, it's IMO much better, but line-through wouldn't permit the growing animation.

  • @peteremad5228
    @peteremad5228 2 года назад

    simply you can achieve the same result by clip-path property and inset value on the text itself inset(0,0,50%,0) and on before that it's content is the data atrr clip-path: inset(50%,0,0,0) and then do the animation

  • @samirkhatri-dev
    @samirkhatri-dev 2 года назад

    A video on responsive navbar using vanilla css, js

  • @anonymoususer5492
    @anonymoususer5492 2 года назад

    Thank you Kyle for this amazing video , it would be very helpful if you could make a video on redux

  • @arshali4635
    @arshali4635 2 года назад

    how the hell is that second span not appearing on screen cause mine is. I got frustated with the main-text span, how is it you're isn't showing and mine is

    • @arshali4635
      @arshali4635 2 года назад

      also the main-text span is not visible once hovered, but how you're isn't showing before hovering, and the display flex on split-text is not affecting the before element but it is effecting the span main-text

    • @arshali4635
      @arshali4635 2 года назад

      ok, my bad. IF any one had the same problem, just check in html file if you have written home in split-text span, if yes remove that, we only need it in main-text

  • @FeederGG
    @FeederGG 2 года назад

    okaty i really need help its taking me hours to try to make it an acnhor and go to home and about pages , but the anchor link is only working on the higher half of the word home,about etc , and the lower half isnt working... idk what to do am so stuck , will be grateful if anyone helps

  • @Wizatek
    @Wizatek 2 года назад

    Back in the day, the late 90's we would just use gif's as mouseover image to get to this result

  • @nujdhungana
    @nujdhungana 2 года назад +1

    cool

    • @andradegilmar
      @andradegilmar 2 года назад

      Warning ⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @ricardoayala5869
    @ricardoayala5869 2 года назад

    My background is white?
    Please help me

  • @Michael-Martell
    @Michael-Martell 2 года назад

    @thenetninja this seems like it’s be your style.

  • @CodingAbroad
    @CodingAbroad 2 года назад

    How can I get hair as perfect as yours?

  • @rahanajai6467
    @rahanajai6467 2 года назад

    19:26

  • @Ilidan156
    @Ilidan156 2 года назад

    How can i create unlimited growing object when i hover over cursor.

  • @zlatanibrahimovic6072
    @zlatanibrahimovic6072 2 года назад

    s1mple cs and simple css :) (Oleksandr "s1mple" Kostyliev)

  • @josuevalar6465
    @josuevalar6465 2 года назад

    Simple=40min video xD

  • @brytonduropan6741
    @brytonduropan6741 2 года назад +1

    i only get 50% of what's going on here, but interesting none-of-the-less

  • @JJTrades_X
    @JJTrades_X 2 года назад

    If you add "display:block" to the :before and :after elements, they will have an auto width/height.

  • @user-ms13w
    @user-ms13w 2 года назад

    • @andradegilmar
      @andradegilmar 2 года назад +1

      Warning ⚠️⚠️⚠️ this is not Kyle 👆🏾

    • @user-ms13w
      @user-ms13w 2 года назад

      @Whatsapp me
      ♰❶❸⓿❷❺❽❸⓿❻❻❹ thank , i`am 🎓

    • @user-ms13w
      @user-ms13w 2 года назад

      conects google Meet ✔

  • @ЯМолодец-ъ6ш
    @ЯМолодец-ъ6ш 2 года назад

    Please help Ukraine protect the sky from the Russians. Too many bombs have been dropped on our cities. We fight like lions, but we need your help. Please do something to ask NATO to protect our skies, save the lives of our women and children.

  • @aaron8989
    @aaron8989 2 года назад +1

    Hmm hmm hmmmmm

  • @fullstacklegacydev8843
    @fullstacklegacydev8843 2 года назад +1

    uh...

    • @andradegilmar
      @andradegilmar 2 года назад

      Warning ⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @yusufmacit5066
    @yusufmacit5066 2 года назад

    kanka bakmadan yap bi kere de be

    • @andradegilmar
      @andradegilmar 2 года назад

      Warning ⚠️⚠️⚠️ this is not Kyle 👆🏾

  • @adrianroethlisberger4626
    @adrianroethlisberger4626 2 года назад +5

    How to create this SIMPLE animation, video length 40 minutes....

    • @sicfxmusic
      @sicfxmusic 2 года назад

      You can leave if you have more important things to do....

  • @sharp2229
    @sharp2229 2 года назад

    bruh
    animation-direction: both;

  • @justsample9185
    @justsample9185 2 года назад

    the result is far away from the original codepen

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

    This is so far beyond me... LOL

  • @whiteender3153
    @whiteender3153 2 года назад

    hmm hmm hmmmm

  • @jeihun_
    @jeihun_ 2 года назад

    You really used the word "simple"... yea...

  • @aristonia1991
    @aristonia1991 2 года назад

    This is a great video, but i am really surprised to see you use Google Chrome for development tools, every developer knows Firefox is superior with this,.

  • @KitsuneNoMeiji
    @KitsuneNoMeiji 2 года назад

    Hmm hmm hmmmmm