Advanced Button Hover Animations - CSS Only

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 124

  • @kutsumikabe9113
    @kutsumikabe9113 2 роки тому +11

    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

  • @nomaddeveloper8399
    @nomaddeveloper8399 4 роки тому +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!!!

  • @Adanmacreates
    @Adanmacreates 4 роки тому +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

  • @Shubham-xh9nz
    @Shubham-xh9nz 4 роки тому +1

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

  • @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!

  • @bakor-org
    @bakor-org 4 роки тому +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 :)

  • @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 !

  • @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 4 роки тому +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

  • @ТимурТокумов-и1к
    @ТимурТокумов-и1к 2 роки тому

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

  • @WebDeveloper682
    @WebDeveloper682 11 місяців тому

    absolutely awesome video , big respect you my brother

  • @NOTHING-en2ue
    @NOTHING-en2ue Рік тому

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

  • @adityasharma6980
    @adityasharma6980 10 місяців тому

    Thank you soo much. Cleared my concepts a lot

  • @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

  • @theleancoder
    @theleancoder 4 роки тому +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👏.

  • @avneet12284
    @avneet12284 4 роки тому +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 4 роки тому

      avneet12284 That confuses me as well.

    • @RiversDelay
      @RiversDelay 4 роки тому +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.

  • @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.

  • @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

  • @MrGreenpaulo
    @MrGreenpaulo 4 роки тому

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

  • @karenkharatyan1
    @karenkharatyan1 4 роки тому +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.

  • @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.

  • @ryancharlesalcaraz4436
    @ryancharlesalcaraz4436 Рік тому

    thank you very much it helps me a lot

  • @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.

  • @usama57926
    @usama57926 4 роки тому +1

    amazing video and design

  • @ngthuan7497
    @ngthuan7497 3 роки тому

    Thank you so much for these videos 👍

  • @tuckercoffin2164
    @tuckercoffin2164 4 роки тому

    You are making me like CSS. Thanks

    • @WebDevSimplified
      @WebDevSimplified  4 роки тому +1

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

    • @tuckercoffin2164
      @tuckercoffin2164 4 роки тому +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. :)

  • @etchris
    @etchris 3 роки тому

    Can this be down with list elements?

  • @ChessGeek1
    @ChessGeek1 4 роки тому

    How can I link thsi button to a url?

  • @preetamvarun9219
    @preetamvarun9219 2 роки тому

    Thank you!

  • @TVBuzzy
    @TVBuzzy 4 роки тому

    Great tutorial. Thanks!

  • @kenyonhuppe
    @kenyonhuppe 3 роки тому

    6:48 - Background Slide

  • @davidlew4391
    @davidlew4391 2 роки тому

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

  • @incrediblefman8126
    @incrediblefman8126 4 роки тому

    thank you so much for these videos

  • @matthewc4590
    @matthewc4590 4 роки тому

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

  • @sonamuhialdeen7866
    @sonamuhialdeen7866 3 роки тому

    So good tutorial

  • @sounak2009
    @sounak2009 4 роки тому +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

  • @basiccodingwithadam8125
    @basiccodingwithadam8125 4 роки тому

    Great video, easy to follow instructions

  • @ohkarsworld1500
    @ohkarsworld1500 3 роки тому

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

  • @method_actor
    @method_actor 3 роки тому

    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!

  • @beinyourguard
    @beinyourguard 4 роки тому

    your channel is very helpful, thank you

  • @rodriguin2810
    @rodriguin2810 4 роки тому

    Thanks a lot bro!

  • @srinivasnahak3473
    @srinivasnahak3473 4 роки тому

    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.

  • @fetB
    @fetB 3 роки тому

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

  • @usama57926
    @usama57926 4 роки тому +1

    thank u sir

  • @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?

  • @adeshplayz4936
    @adeshplayz4936 3 роки тому

    Amazing content

  • @mohammad-karbalaee
    @mohammad-karbalaee 3 роки тому

    Pretty helpful!!!

  • @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;

  • @udiaichel2791
    @udiaichel2791 Рік тому

    Does anyone know how to add these to shopify buttons?

  • @RajeshSamson
    @RajeshSamson 4 роки тому

    Can you make a video tutorial on wed assembly??

  • @阿騰-g7n
    @阿騰-g7n 3 роки тому

    thx a lot

  • @abishekh07
    @abishekh07 4 роки тому +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?

  • @shiktabanik1804
    @shiktabanik1804 4 роки тому

    Love form Bangladesh 😘😘

  • @mdhasiburrahmannafiz9984
    @mdhasiburrahmannafiz9984 4 роки тому

    Superb..

  • @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...

  • @jocketovieksperimenti1006
    @jocketovieksperimenti1006 2 роки тому

    thanks!!!!!

  • @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?

  • @universitetiim2853
    @universitetiim2853 4 роки тому

    Thankyou ^^

  • @mariokrstevski8836
    @mariokrstevski8836 4 роки тому

    How can I get in touch with you bro?

  • @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.

  • @abhishekmaurya8330
    @abhishekmaurya8330 4 роки тому +3

    Am i only who never saw Kylie
    smiling?? Lol

  • @sandil1232
    @sandil1232 3 роки тому +2

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

  • @tambolaking5383
    @tambolaking5383 4 роки тому

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

  • @miketennor5684
    @miketennor5684 2 роки тому

    Great video. How about posting the source code?

  • @johnnyxp64
    @johnnyxp64 4 роки тому +1

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

  • @AJ-qv5px
    @AJ-qv5px 4 роки тому

    you sound like the daily dose of the internet guy

  • @Khakim0598
    @Khakim0598 4 роки тому +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

  • @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.

  • @bjarnieinarsson3472
    @bjarnieinarsson3472 3 роки тому

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

    • @davidlew4391
      @davidlew4391 2 роки тому

      I am so confused. Why multiply by -2?

  • @yese3064
    @yese3064 3 роки тому

    Doesn't work with SASS

  • @hipster4849
    @hipster4849 3 роки тому

    does it work in sublime text?

  • @sm1ley732
    @sm1ley732 4 роки тому

    you're handsome dude 😁

  • @leonardol8158
    @leonardol8158 4 роки тому

    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 4 роки тому

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

  • @jishabipin9228
    @jishabipin9228 3 роки тому

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

  • @Shubham-xh9nz
    @Shubham-xh9nz 4 роки тому

    advance buttons with css
    hover effecs
    css buttona

  • @Henry_Nunez
    @Henry_Nunez 2 роки тому

    👍🔔

  • @dawdacolley3323
    @dawdacolley3323 4 роки тому

    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.

  • @thelegendofzelda187
    @thelegendofzelda187 4 роки тому

    🥺

  • @mohdahmad
    @mohdahmad 4 роки тому

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

  • @pulga961
    @pulga961 4 роки тому

    nice but mobile users cannot hover....

    • @aammssaamm
      @aammssaamm 4 роки тому +3

      Not everything in this world about mobile users :)