Advanced Button Hover Animations - CSS Only

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 124

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

  • @kutsumikabe9113
    @kutsumikabe9113 ปีที่แล้ว +11

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

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

  • @Shubham-xh9nz
    @Shubham-xh9nz 4 ปีที่แล้ว +1

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

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

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

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

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

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

  • @willgd5950
    @willgd5950 4 ปีที่แล้ว

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

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

  • @NOTHING-en2ue
    @NOTHING-en2ue ปีที่แล้ว

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

  • @ТимурТокумов-и1к
    @ТимурТокумов-и1к 2 ปีที่แล้ว

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

  • @theleancoder
    @theleancoder 4 ปีที่แล้ว +2

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

  • @WebDeveloper682
    @WebDeveloper682 10 หลายเดือนก่อน

    absolutely awesome video , big respect you my brother

  • @adityasharma6980
    @adityasharma6980 9 หลายเดือนก่อน

    Thank you soo much. Cleared my concepts a lot

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

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

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

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

  • @najubudeen6294
    @najubudeen6294 ปีที่แล้ว

    All of your videos are very understandable👏.

  • @InsaneParrot
    @InsaneParrot 8 หลายเดือนก่อน

    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.

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

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

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

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

  • @MrGreenpaulo
    @MrGreenpaulo 4 ปีที่แล้ว

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

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

  • @usama57926
    @usama57926 4 ปีที่แล้ว +1

    amazing video and design

  • @ngthuan7497
    @ngthuan7497 3 ปีที่แล้ว

    Thank you so much for these videos 👍

  • @kenyonhuppe
    @kenyonhuppe 3 ปีที่แล้ว

    6:48 - Background Slide

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

  • @TVBuzzy
    @TVBuzzy 4 ปีที่แล้ว

    Great tutorial. Thanks!

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

  • @ryancharlesalcaraz4436
    @ryancharlesalcaraz4436 ปีที่แล้ว

    thank you very much it helps me a lot

  • @preetamvarun9219
    @preetamvarun9219 2 ปีที่แล้ว

    Thank you!

  • @basiccodingwithadam8125
    @basiccodingwithadam8125 4 ปีที่แล้ว

    Great video, easy to follow instructions

  • @beinyourguard
    @beinyourguard 4 ปีที่แล้ว

    your channel is very helpful, thank you

  • @incrediblefman8126
    @incrediblefman8126 4 ปีที่แล้ว

    thank you so much for these videos

  • @sonamuhialdeen7866
    @sonamuhialdeen7866 3 ปีที่แล้ว

    So good tutorial

  • @matthewc4590
    @matthewc4590 4 ปีที่แล้ว

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

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

  • @mohammad-karbalaee
    @mohammad-karbalaee 3 ปีที่แล้ว

    Pretty helpful!!!

  • @ohkarsworld1500
    @ohkarsworld1500 3 ปีที่แล้ว

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

  • @usama57926
    @usama57926 4 ปีที่แล้ว +1

    thank u sir

  • @rodriguin2810
    @rodriguin2810 3 ปีที่แล้ว

    Thanks a lot bro!

  • @adeshplayz4936
    @adeshplayz4936 3 ปีที่แล้ว

    Amazing content

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

  • @RajeshSamson
    @RajeshSamson 4 ปีที่แล้ว

    Can you make a video tutorial on wed assembly??

  • @shiktabanik1804
    @shiktabanik1804 4 ปีที่แล้ว

    Love form Bangladesh 😘😘

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

  • @mdhasiburrahmannafiz9984
    @mdhasiburrahmannafiz9984 4 ปีที่แล้ว

    Superb..

  • @阿騰-g7n
    @阿騰-g7n 3 ปีที่แล้ว

    thx a lot

  • @jocketovieksperimenti1006
    @jocketovieksperimenti1006 2 ปีที่แล้ว

    thanks!!!!!

  • @universitetiim2853
    @universitetiim2853 4 ปีที่แล้ว

    Thankyou ^^

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

  • @ChessGeek1
    @ChessGeek1 4 ปีที่แล้ว

    How can I link thsi button to a url?

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

  • @tambolaking5383
    @tambolaking5383 4 ปีที่แล้ว

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

  • @abhishekmaurya8330
    @abhishekmaurya8330 4 ปีที่แล้ว +3

    Am i only who never saw Kylie
    smiling?? Lol

    • @tambolaking5383
      @tambolaking5383 4 ปีที่แล้ว

      See thumbnail

    • @omar9987
      @omar9987 4 ปีที่แล้ว +3

      Did you just call him Kylie?

  • @miketennor5684
    @miketennor5684 2 ปีที่แล้ว

    Great video. How about posting the source code?

  • @fetB
    @fetB 3 ปีที่แล้ว

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

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

  • @etchris
    @etchris 3 ปีที่แล้ว

    Can this be down with list elements?

  • @davidlew4391
    @davidlew4391 2 ปีที่แล้ว

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

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

  • @AJ-qv5px
    @AJ-qv5px 4 ปีที่แล้ว

    you sound like the daily dose of the internet guy

  • @mariokrstevski8836
    @mariokrstevski8836 4 ปีที่แล้ว

    How can I get in touch with you bro?

  • @sandil1232
    @sandil1232 3 ปีที่แล้ว +2

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

  • @udiaichel2791
    @udiaichel2791 ปีที่แล้ว

    Does anyone know how to add these to shopify buttons?

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

  • @sm1ley732
    @sm1ley732 4 ปีที่แล้ว

    you're handsome dude 😁

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

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

  • @jishabipin9228
    @jishabipin9228 3 ปีที่แล้ว

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

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

  • @Henry_Nunez
    @Henry_Nunez 2 ปีที่แล้ว

    👍🔔

  • @Shubham-xh9nz
    @Shubham-xh9nz 4 ปีที่แล้ว

    advance buttons with css
    hover effecs
    css buttona

  • @hipster4849
    @hipster4849 3 ปีที่แล้ว

    does it work in sublime text?

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