Slide-In Overlay Hover Effect (HTML & CSS)

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 31

  • @freestyler1578
    @freestyler1578 5 років тому +4

    Amazing hands-on tutorial, thanks!!!!

  • @yuxiwan8917
    @yuxiwan8917 5 років тому +3

    Great video, step by step with explanation! I love it!

    • @CodingJourney
      @CodingJourney  5 років тому

      Thank you! Delighted to hear that 🙂

  • @NejdetACAR
    @NejdetACAR 3 роки тому +1

    I haven't seen any other video explaining the topic of "overlay" in such detail. (maybe there is) Thank you very much.

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

      Oh thank you 🙂 Very glad you liked it!

  • @Webnoob
    @Webnoob 5 років тому +1

    Excellent explanation. I like that you show several options on how you can implement the overlay. Great work. Stay tuned 👍🏻

    • @CodingJourney
      @CodingJourney  5 років тому +1

      Thanks Mario! Much appreciate you taking the time to watch the video and comment! Love the work you are doing with your channel, keep it up!!

  • @mayonkkumarbehera3524
    @mayonkkumarbehera3524 5 років тому +2

    thank you, I find your videos very helpful!!

    • @CodingJourney
      @CodingJourney  5 років тому

      Thanks man! Very happy to hear that 🙂

  • @Tony-pe3kp
    @Tony-pe3kp 4 роки тому +1

    Nice and smooth! I mean the tutorial, as well as the effect 😉 Thank you, keep it up 👍

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

      Oh thank you, glad you liked it! You too 😉

  • @nicolasshattaoula3354
    @nicolasshattaoula3354 5 років тому +1

    Keep them coming baby, much love from your home country!

    • @CodingJourney
      @CodingJourney  5 років тому

      Heheh! Always be chasing you...my superhero 😃💖💖

  • @Frankslaboratory
    @Frankslaboratory 5 років тому +1

    Everything is better with Batman haha. Great video :)

    • @CodingJourney
      @CodingJourney  5 років тому

      Heheh 🙂 Thanks man! Looking forward to see what you are creating next with your coding superpowers 😉🙂

  • @sirlancelot8015
    @sirlancelot8015 5 років тому +1

    Thank you Sir!

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

    great job keep going

  • @mahadirazib3602
    @mahadirazib3602 4 роки тому +2

    ❤️❤️❤️❤️

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

    How would you do this by clicking on a button in .card.main-content and on a button in card.overlay-content?

    • @CodingJourney
      @CodingJourney  4 роки тому +2

      Well, you would first of course need to add a button to each of these divs, e.g.
      Main (to .main-content) and
      Overlay (to .overlay-content)
      Then change the styling, according to your taste and needs, and in order to achieve the functionality with JavaScript:
      const card = document.querySelector(".card");
      const toggleSlideInBtns = document.querySelectorAll(".toggle-slide-in-btn");
      toggleSlideInBtns.forEach(toggleSlideInBtn => {
      toggleSlideInBtn.addEventListener("click", event => {
      card.classList.toggle("slide-in");
      });
      });
      All the best, keep coding! 😉🙂

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

      @@CodingJourney You are a genius! Thanks!

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

      I am starting out, trying to learn HTML/CSS and JavaScript. In the process, I am building a website, which uses cards. My cards are currently using a tooltip method based on a hover. But I did not like the functionality of them. I like the slide-in effect you showed in your video. It is better! This really helps! Again, thanks!

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

      Amazing! Learning, while creating actual projects is the way to go 😉 Very glad you found this helpful! Keep up the good work 👍💙

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

    I am a simple man. I see Batman, I give a like!

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

      Heheh 😁 Love it! Keep it simple 😉💙💙

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

    Hi, this effect works for me and it's beautiful. I'm using it in a react app and it works perfectly on a local server but when I deploy my website it doesn't work on the website. Does anybody know why it wouldn't work when you deploy the react app?

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

    Are you spanish? Your accent seems like that...

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

      Hey 🙂 I'm from Cyprus, but indeed English accent is quite similar to Spanish 😉

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

      @@CodingJourney Ok...