Advanced Button Hover Animations - CSS Only

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

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

  • @nomaddeveloper8399
    @nomaddeveloper8399 5 лет назад +43

    Your videos are amazing!!! All I see are top tier informations and tips!!! I am studying and trying to improve my web developer skills, and every time I watch one of your videos I learn something completely new.
    Keep up the awesome work!!!

  • @kutsumikabe9113
    @kutsumikabe9113 2 года назад +12

    Bottons preview 00:47
    Border pop 01:55
    Background slide 06:50
    Bacground circle 11:24
    Border Underline 15:58

  • @shabbirbarwaniwala7323
    @shabbirbarwaniwala7323 3 года назад +103

    I'm 11 and I am learning HTML, CSS and JavaScript and you make all the concepts really clear for me to understand

    • @avien9068
      @avien9068 3 года назад +18

      if you keep working hard you'll be very successful. Well done for starting at such a young age

    • @Charlsteezy
      @Charlsteezy 3 года назад +5

      I wish I was your age when I started learning! Keep going and it will all be worth it.

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

      @@avien9068 i am also learning to code i now python pretty good and want to make website i started 4 days ago and then i started making javascript games here is all my work put into 1 (i am 10) website.themessifan908.repl.co

    • @krshnabakth
      @krshnabakth 3 года назад +3

      Man don't just focus on programming , you should complete your studies first. So learn them only when your free!

    • @syezaian2858
      @syezaian2858 3 года назад

      Same

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

    I'm actually just going through that roadmap you made for 2021 for review and some practice, and I can say I do love your style compared to others I've watched cause I've learned some other neat tricks. Thank you Kyle !

  • @Shubham-xh9nz
    @Shubham-xh9nz 5 лет назад +1

    for beginners like this place is heaven.. keep uploading.

  • @bakor-org
    @bakor-org 5 лет назад +31

    Hey Kyle, I really enjoy your content and the way you explain stuff. I would like to suggest some topics that might be great for intermediate/advanced developers,
    1. How to set up your project in order to make it scaleable (Folder-structure and some other stuff that I don't know ).
    2. System design for a big project, with a large user base.
    3. How to write clean code. (Good/Bad habits, naming conventions, etc).
    Please like this comment if you want some of these topics to be covered, Thanks :)

  • @Adanmacreates
    @Adanmacreates 5 лет назад +6

    I was about to say i wish i found this video two days ago when i was trying to do the exact same thing but i see this was just uploaded lmao

  • @deansprivatearchive
    @deansprivatearchive 3 года назад +1

    I came here for an even different reason!
    I came across a website before that has a blue slide animation when you hover over links, so that's why I'm here. Not just for buttons!

  • @ТимурТокумов-и1к
    @ТимурТокумов-и1к 2 года назад

    One of my favorite channels! Thank you so much for the videos and simple explanation!)

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

    I had to leave a comment,this is the best video I have seen on this topic It also explains so that we can miss around with it.THANK YOU!!

  • @fluffydoggo
    @fluffydoggo 5 лет назад +1

    I don't know why but I always watch your videos when its like 12am so it's like: "Thats so cool, but I can't do stuff with it because I need sleep"

  • @willgd5950
    @willgd5950 4 года назад

    seriously, i learn the most from you, thank you so so much

  • @MrGreenpaulo
    @MrGreenpaulo 4 года назад

    First time visiting your channel. Great video! Exactly what i was looking for. Thanks Kyle. Subbed.

  • @theleancoder
    @theleancoder 5 лет назад +2

    I was struggling with this type of css but you make it look damn easy bro!

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

    All of your videos are very understandable👏.

  • @jaydenmoon1165
    @jaydenmoon1165 3 года назад

    I am working on a codebook - just for fun projects - and I always enjoyed your videos - this was really fun to work along with - thank you

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

    Thank you soo much. Cleared my concepts a lot

  • @avneet12284
    @avneet12284 5 лет назад +11

    This was great. I didn't understand the z- index trick. How does z-index: 1 on button bring the pseudo element in front of button background but behind the text ?

    • @wh4le287
      @wh4le287 5 лет назад

      avneet12284 That confuses me as well.

    • @RiversDelay
      @RiversDelay 5 лет назад +12

      When you set z-index: -1 to the pseudo-element, it makes the pseudo-element go below the button, because the default to z-index is 0, but then if you set a z-index: 1 to the button, it creates a stacking context on the button which makes its children not able to go below the button itself, so the pseudo-element goes below everything that is inside the button, the text in this case, but not the button itself.
      watch?v=uS8l4YRXbaw this video might help you understand stacking contexts better.

  • @WebDeveloper682
    @WebDeveloper682 11 месяцев назад

    absolutely awesome video , big respect you my brother

  • @learntocode1878
    @learntocode1878 4 года назад

    Hey, thanks for your tutorials I really enjoy your videos, its also great that you split the screens so we can see both code and browser.

  • @chethananderson3446
    @chethananderson3446 4 года назад

    you have these super cool techniques to apply on , really enjoyed the whole video and made me easy to learn. Thanks brotha

  • @ngthuan7497
    @ngthuan7497 3 года назад

    Thank you so much for these videos 👍

  • @NOTHING-en2ue
    @NOTHING-en2ue Год назад

    the only teacher that i can understand thanks a lot for your helpful tutorials ❤

  • @karenkharatyan1
    @karenkharatyan1 5 лет назад +1

    You can use just outline and outline-offset properties for the first hover type if you not need some rounded corners

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

      If your button has border-radius, outline also gets the same radius. So you can still use it.

  • @TVBuzzy
    @TVBuzzy 4 года назад

    Great tutorial. Thanks!

  • @usama57926
    @usama57926 5 лет назад +1

    amazing video and design

  • @incrediblefman8126
    @incrediblefman8126 5 лет назад

    thank you so much for these videos

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

    thank you very much it helps me a lot

  • @basiccodingwithadam8125
    @basiccodingwithadam8125 5 лет назад

    Great video, easy to follow instructions

  • @matthewc4590
    @matthewc4590 4 года назад

    Hey mate thanks for the content. It's been really helpful.

  • @beinyourguard
    @beinyourguard 5 лет назад

    your channel is very helpful, thank you

  • @lizalizaveta1882
    @lizalizaveta1882 3 года назад

    Awesome, I was able to do it! Still don't understand fully how it works, but hopefully will get it with more practice.

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

    Thank you for the tutorial, i did it almost exactly like on it and i didnt work and your tutorial was so clear to read that i could debug it myself.

  • @preetamvarun9219
    @preetamvarun9219 3 года назад

    Thank you!

  • @sounak2009
    @sounak2009 5 лет назад +1

    Hi Kyle. I love your content a lot. I have two questions for you.
    1. Could you do a simple jwt tutorial showing how to save the token in a front end powerd by react?
    2. How do you shave so cleanly? 😂😂
    Big fan of your channel

  • @tuckercoffin2164
    @tuckercoffin2164 5 лет назад

    You are making me like CSS. Thanks

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      That is awesome! CSS is amazing and I absolutely love it since it allows you so much freedom and creativity.

    • @tuckercoffin2164
      @tuckercoffin2164 5 лет назад +1

      @@WebDevSimplified Before I got into web development I was experimenting with c, c++ and Pascal. It was nice and interesting, but you mostly only had command line programs. It is interesting too and it teaches you a lot about programs and computers, but when I saw that I could make my own website and make it dynamic and look how I wanted fairly easily, I was hooked. It's great. Thanks for simplifying the web for us. :)

  • @rodriguin2810
    @rodriguin2810 4 года назад

    Thanks a lot bro!

  • @method_actor
    @method_actor 4 года назад

    I know this is an old video, but I don't really understand why that trick with the stacking contexts works. Setting a z-index of -1 on the pseudo element puts it behind the element, but then setting the z-index of the element to 1 makes the pseudo element appear above the element's background? I know it might not be a super exciting topic, but if you did a video on stacking contexts, that would be amazing. Thanks for all the great content!

  • @srinivasnahak3473
    @srinivasnahak3473 5 лет назад

    I'm truly grateful to you for your amazing tutorials....just keep it up I can see your shining future brother
    And some day post a video about yourself means what do you do and how the journey started etc.

  • @usama57926
    @usama57926 5 лет назад +1

    thank u sir

  • @sonamuhialdeen7866
    @sonamuhialdeen7866 3 года назад

    So good tutorial

  • @mohammad-karbalaee
    @mohammad-karbalaee 3 года назад

    Pretty helpful!!!

  • @kenyonhuppe
    @kenyonhuppe 3 года назад

    6:48 - Background Slide

  • @abishekh07
    @abishekh07 5 лет назад +1

    Hello, Kyle.
    Great video as always! Do you think that it's possible to achieve the "border-pop" hover animation using outline and outline-offset?

  • @adeshplayz4936
    @adeshplayz4936 3 года назад

    Amazing content

  • @jocketovieksperimenti1006
    @jocketovieksperimenti1006 3 года назад

    thanks!!!!!

  • @阿騰-g7n
    @阿騰-g7n 3 года назад

    thx a lot

  • @J.A.C.K.3D
    @J.A.C.K.3D 4 года назад

    A very helpful video. Thank you. Could you explain, what the asterisk in your pseudo elements means at the beginning in your style.css?

  • @ohkarsworld1500
    @ohkarsworld1500 3 года назад

    effects are awesome but little complicated in tutorial and step by step

  • @shiktabanik1804
    @shiktabanik1804 5 лет назад

    Love form Bangladesh 😘😘

  • @RajeshSamson
    @RajeshSamson 5 лет назад

    Can you make a video tutorial on wed assembly??

  • @universitetiim2853
    @universitetiim2853 4 года назад

    Thankyou ^^

  • @mdhasiburrahmannafiz9984
    @mdhasiburrahmannafiz9984 4 года назад

    Superb..

  • @etchris
    @etchris 3 года назад

    Can this be down with list elements?

  • @ChessGeek1
    @ChessGeek1 4 года назад

    How can I link thsi button to a url?

  • @vora320
    @vora320 3 года назад

    Btw guys you can use the "inset" syntax instead of writing top:0; left:0; buttom:0;right:0;
    instead you can use "inset: 0px 0px 0px 0px;

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

    Can I use after instead of before? I tried it seems no different.

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

    "my name is kyle and my job is to simplify the web for you "
    me : destroys the like button

  • @DevvratShukla
    @DevvratShukla 4 года назад

    z-index: -1 did not work for me, it starts to show the grey button with text and hides the pseudo-element...

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

    Hello, thank you for your help. For the most part I got the Background Slide working, but it is 'flickering' on the ease-in. It is perfectly smooth on the ease-out though. Do you know why this is?

  • @fetB
    @fetB 3 года назад

    mine doesnt adjust to the same size but full width of the page/viewbox. Why?

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

    Great video. How about posting the source code?

  • @TheVideogamemaster9
    @TheVideogamemaster9 3 года назад

    My transitions always have a weird issue where they have abrupt endings when you unhover, rather than easing back to the original state, but if I do anything to fix it, then unwanted animations play when I load or reload the page. A lot of people apparently solve that with javascript and jquery lol

    • @parrapaTh3Rappa
      @parrapaTh3Rappa 3 года назад

      Hey, not sure if you ever figured this out, but make sure the transition property is on the element that's actually doing the transitioning rather than the one with the :hover pseudo-class.
      If you have it on the element with the :hover, then the second you unhover, the transition property ceases to exist, therefore snapping whatever it was back into place rather than transitioning smoothly. I just happened to see this on another one of his videos, hehe.

  • @johnnyxp64
    @johnnyxp64 5 лет назад +1

    would love to find equally interested tutorials but for the new kid on the block that should rule them all.... Blazor. 🙄😁

  • @mariokrstevski8836
    @mariokrstevski8836 5 лет назад

    How can I get in touch with you bro?

  • @tambolaking5383
    @tambolaking5383 5 лет назад

    I want tutorial on css to get the post click animation like with material design. The ripple effect.

  • @muhammadjunaid3684
    @muhammadjunaid3684 3 года назад +1

    In background slide effect. You can simply set width to 0% or 100% to cover the area.
    Btw, I love your tutorials.

  • @abhishekmaurya8330
    @abhishekmaurya8330 5 лет назад +3

    Am i only who never saw Kylie
    smiling?? Lol

  • @AJ-qv5px
    @AJ-qv5px 4 года назад

    you sound like the daily dose of the internet guy

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

    Does anyone know how to add these to shopify buttons?

  • @yese3064
    @yese3064 3 года назад

    Doesn't work with SASS

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

    👍🔔

  • @bjarnieinarsson3472
    @bjarnieinarsson3472 3 года назад

    Hmmm... multiply by -2 on every corner?

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

      I am so confused. Why multiply by -2?

  • @leonardol8158
    @leonardol8158 5 лет назад

    These buttons are cool, but I have a problem, no button matches my website and it’s getting a bit trashy with the colors I’m using. And I'm not a programmer, I'm just creating a website as a hobby. I'm having a hard time using colors that make the design good. Can someone help me?

    • @exnihilo1227
      @exnihilo1227 5 лет назад

      Leonardo L i found a website for choosing some color:
      colorsinspo.com

  • @sm1ley732
    @sm1ley732 5 лет назад

    you're handsome dude 😁

  • @dawdacolley3323
    @dawdacolley3323 5 лет назад

    Good videos all the time but sad to watch because od fint size is bad. Please consider to add fint size of your text. Sorry to say but checkout Mosh videos.

  • @Khakim0598
    @Khakim0598 5 лет назад +1

    Please tell me, I’m making a site where under each picture there will be a button to download the picture before the download attribute worked now it doesn’t work how can this be done using JavaScript

  • @Shubham-xh9nz
    @Shubham-xh9nz 5 лет назад

    advance buttons with css
    hover effecs
    css buttona

  • @hipster4849
    @hipster4849 3 года назад

    does it work in sublime text?

  • @jishabipin9228
    @jishabipin9228 3 года назад

    everything is clear while watching it but when it comes to practice....._ _

  • @thelegendofzelda187
    @thelegendofzelda187 5 лет назад

    🥺

  • @mohdahmad
    @mohdahmad 5 лет назад

    sir, please make a video on how to make interactive animations like
    instagram.com/p/B7gW9TpgSC8/?

  • @pulga961
    @pulga961 5 лет назад

    nice but mobile users cannot hover....

    • @aammssaamm
      @aammssaamm 5 лет назад +3

      Not everything in this world about mobile users :)