How to create image overlay hover effect using HTML and CSS only

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

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

  • @shubhamjaiswal658
    @shubhamjaiswal658 4 месяца назад

    Thanks a lots bro, After watching this, now I can fix my problems very well

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

    Great video finally someone who explained the actual process of what needs to be done! Great reference!

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

      Thank you for your valuable feedback.

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

      @@LoharTalk Hello Sir, How can I increase width only(not height) of font-awesome icon ???

  • @budscottcunningham722
    @budscottcunningham722 6 лет назад +28

    This video is great! Thank you for talking "instead" of just playing music...... Keep up the good work, and thank you.

    • @LoharTalk
      @LoharTalk  6 лет назад +1

      Thank you for your appreciation.

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

    great tutorial, i am first time and not last i hope. Very simple way to do complicated effect

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

    Big thanks for you bro, I've been looking for this for several months

  • @SagarSharma-ht7dq
    @SagarSharma-ht7dq Год назад

    Thanks for this amazing video.

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

    Such a good video 👍 thanks

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

    Lovely thank you you explain well

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

    Hi! Thanks a lot for this, it was realllllly helpful!

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

    lovely and to the point

  • @jaskaransingh-vf7vp
    @jaskaransingh-vf7vp 3 года назад

    well explained video !

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

    Thank you for this video

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

    Great video thank you.

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

    Thank you for the tutorial or provide code.

  • @vaibhavkhobragade9773
    @vaibhavkhobragade9773 6 лет назад +1

    I fix this problem after watching your video thanks comrade :)

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

    Thanks! This was super helpful!

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

    Awesome!
    Its work well with bootstrap we have to replace the container in a different class then it will work fine.

  • @sallyomar1430
    @sallyomar1430 Год назад +1

    thank you brother

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

    it's great

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

    Thanks! i fixed my code and now is working!

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

    Very well-organised and explained, thank you!

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

    good tutorial thx you
    but..... white background in your IDE it'ssssss very unusual

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

    Thank you !

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

    Great tutorial, thanks so much 👍🏻 May I ask, is there a way for making the overlay half? And then on top of that also half another color or a color transparency?

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

    just what I was looking for. thank you sir

  • @Anya-yd2fi
    @Anya-yd2fi 4 года назад

    Thanks so MUCH!!!!

  • @GameDevDul
    @GameDevDul 6 лет назад

    Great tutorial which goes straight to the point, thanks bro

    • @LoharTalk
      @LoharTalk  6 лет назад

      Thank you for your valuable feedback.

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

    wish you'd included some explanation in the video, though, 'cause I'm still confused as all hell!

  • @CristianRomero-up1nj
    @CristianRomero-up1nj 6 лет назад

    Outstanding dude

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

    thank u sir ........plz , responsive overlay

  • @edenandkoi
    @edenandkoi 6 лет назад

    Such a great tutorial. Thank you!

    • @LoharTalk
      @LoharTalk  6 лет назад

      Thank you for your valuable feedback. You can also view/download project from www.lohartalk.com

  • @genesisj.estevez
    @genesisj.estevez 4 года назад

    !!!!Gracias

  • @aaronteering
    @aaronteering 6 лет назад

    Hi Great turorial! thnx helped out a lot. maybe for the next time: level the intro/outro sound some lower BC your mic volume is low and the intro/outro are pretty high. but still great tutorial !

    • @LoharTalk
      @LoharTalk  6 лет назад

      Aaron Teering Thank you for your feedback..will keep it in mind for my upcoming videos.:-)

  • @FullerUK
    @FullerUK 6 лет назад +1

    Thanks for the help man :)

    • @LoharTalk
      @LoharTalk  6 лет назад

      Thank you for your valuable feedback. Now you can also view or download project from www.lohartalk.com

  • @minhaladamjee2640
    @minhaladamjee2640 6 лет назад +1

    Easy and to the point! Thanks for this video :) I do have a question, is there any way to increase the spaces between the rows and columns in a uniform manner? should i use  ?

    • @LoharTalk
      @LoharTalk  6 лет назад

      You can use cellspacing and cellpadding for space in tables

  • @Mr.O46
    @Mr.O46 5 лет назад

    Thnku so much bro ❤

    • @Mr.O46
      @Mr.O46 5 лет назад

      I solved my big problem by ur help bro thnx a lott❤😊

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

    why need to move in negative direction of x and y

  • @RupeshKumar-tp5fx
    @RupeshKumar-tp5fx 5 лет назад

    Thnx a lot for giving tutorial..
    But i have a problem.. when i use this hover effect in a website for practical exam purpose(i did use position ÷fixed in the header part) then all images overwrite on header while using scroll up.
    Plz fix this problem..

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

      Send me your project code at lohartalk@gmail.com will check

  • @anthonyle4669
    @anthonyle4669 6 лет назад +2

    Doesn't exactly delve too deep on why the structure is the way it is. For someone with no programming knowledge, this is difficult to understand.

    • @LoharTalk
      @LoharTalk  6 лет назад +1

      Thank you for your valuable feedback.This tutorial requires basic knowledge of HTML,CSS and JavaScript.

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

      ikr :(

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

    Amazing work.Can someone share this code.The code which he gave in link doesn't work for me.

    • @LoharTalk
      @LoharTalk  4 года назад +1

      The link given in description will take you to our official website and there click on project code that will download the zip file. If not working kindly email the error at lohartalk@gmail.com.

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

      @@LoharTalk Thank you, sir.I will check it and get back to you soon.

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

    Great video but can you use black text editor.

  • @vaibhavkhobragade9773
    @vaibhavkhobragade9773 6 лет назад +1

    how to give effect this way...I wanna overlay effect image instead of text...means one image hover effect of second image..Ok so how we can apply ?please explain

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

      Did you ever figure this out? I need to do the same thing.

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

      @@JesterJack replace the text for a img tag

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

    Hey Man can you make these overlays repeat by sliding it automatically?

  • @khushboogurnani2261
    @khushboogurnani2261 6 лет назад

    Hi, your information was very helpful. I have created images with hover effect. However, I have a query. How do i link a page (like ) to the image class in HTML?

    • @LoharTalk
      @LoharTalk  6 лет назад

      Thank you for your feedback.You can create image link using following syntax.
      I hope,i have answered your query.Please let me know in case of any concern.
      Regards
      LoharTalk Team

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

    My text won't show up
    .text {
    color: white;
    font-family: Comfortaa;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    }

  • @michaelvalguna9355
    @michaelvalguna9355 6 лет назад +1

    im doing my project right now and i need to pass it on wednesday and its sunday now :/ please help me how to align those images please i didn't even put but it proceeds to another line please help mee :(

    • @LoharTalk
      @LoharTalk  6 лет назад

      You can download and view project from this url.
      www.lohartalk.com/#/watch?v=Cfv_9l8F0Lo

  • @EpicDurian6964
    @EpicDurian6964 6 лет назад +1

    why are we using 2 div tags i.e.., overlay and text . cananyone explain it in detail . please

    • @LoharTalk
      @LoharTalk  6 лет назад +1

      Nav Jindal The outer overlay div is for text background color and inner text div is used to make text vertical and horizontal center alignment.

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

    is it possible to have a picture appear when you hover over a text?

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

      Yes it is possible.

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

      @@LoharTalk can you show me how? Or link a website helping me?

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

      Just replace text with image tag.

  • @Valentina-kr2gp
    @Valentina-kr2gp 4 года назад

    is this responsive

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

    indian ho to hindi me banaw ye keya he bhai
    thanks to give source code

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

      My intention is to target maximum audience.

  • @webnovaitpak442
    @webnovaitpak442 6 лет назад

    good
    can you plees add the full code to the discription

    • @LoharTalk
      @LoharTalk  6 лет назад

      You can find code at www.lohartalk.com

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

    Never Css on Container Class.. Becouse we have about 100 container in a website.. Use always another class

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

    Does this apply with clickable image?

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

      I couldn't hover the text over the image:(

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

      Its depend how you implement

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

      @@LoharTalk ok! Thanks! Your tutorial is a big help for me!

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

    HI . Request you to explain why i need to give "transform: translate(-50%, -50%);"..if i give transform: translate(50%, 50%); why its not working

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

    copy cat

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

    Such a great tutorial, thank you!