HTML AND CSS, YouTube

css image hover overlay effects

css-image-hover-overlay-effects

Coding BD given css image hover overlay effects. You can create css image hover effects. We create an image hover effects. It is the most important part Of how to create an image overlay hover effect using html and css only. We have given more importance to the learn css animation. They used pure css effects. because they need highly effective effects. Thank you so much.

😍😍 If You like this video Please like, share and subscribe This video.😍😍

😍😍 Check Others Programming Video👇

➡️ creative button hover effects: https://www.youtube.com/watch?v=3FbyiuhhhTI

➡️ How to Download Source code in Coding BD: https://www.youtube.com/watch?v=WXAZ-BScKBE&t=3s

➡️Responsive website html css javascript | part( 1 ): https://www.youtube.com/watch?v=g0ART…

➡️ Responsive Services Section: https://www.youtube.com/watch?v=wvLky…

➡️ CSS Clip Path Hover Circle Hover Effects: https://www.youtube.com/watch?v=cRSgo…

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021: https://www.youtube.com/watch?v=QVMJ5…

➡️ Neon Light Button Animation Effects on Hover | CSS Snake Border: https://www.youtube.com/watch?v=GtVSF…

➡️ Responsive Box Model Web Design Using CSS Flexbox: https://www.youtube.com/watch?v=03RuV…

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript: https://www.youtube.com/watch?v=6A6Hp…

➡️ How to create a light to dark mode for HTML CSS & Vanilla Javascript 2021: https://www.youtube.com/watch?v=43FbR…

➡️Scroll top button : https://www.youtube.com/watch?v=9fDEJ…

➡️ Animated eid mubarak 2021 using Html CSS & Javascript: https://www.youtube.com/watch?v=60H2g…

Here is all Source code ( css image hover overlay effects ). You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. copy HTML code and pest HTML file, copy CSS code and past CSS file
  5. Now give a smile and jump out loud. 😍😍
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Css image hover overlay</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <div class="main_box">
        <div class="person_box">
            <div class="img">
                <img src="https://images.unsplash.com/photo-1592748168813-0d42f6c77880?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1yZWxhdGVkfDF8fHxlbnwwfHx8fA%3D%3D&auto=format&fit=crop&w=500&q=60"
                    alt="">
            </div>
            <div class="content_box">
                <div class="box">
                    <h2>Alena Joli</h2>
                    <p>web Designer</p>
                </div>
            </div>
        </div>
        <div class="person_box">
            <div class="img">
                <img src="https://images.unsplash.com/photo-1590954051382-455d93120143?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1yZWxhdGVkfDIwfHx8ZW58MHx8fHw%3D&auto=format&fit=crop&w=400&q=60"
                    alt="">
            </div>
            <div class="content_box">
                <div class="box">
                    <h2>Claire Chedd</h2>
                    <p>UI/UX Designer</p>
                </div>
            </div>
        </div>
        <div class="person_box">
            <div class="img">
                <img src="https://images.unsplash.com/photo-1592677484740-4c40a559fce3?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1yZWxhdGVkfDR8fHxlbnwwfHx8fA%3D%3D&auto=format&fit=crop&w=400&q=60"
                    alt="">
            </div>
            <div class="content_box">
                <div class="box">
                    <h2>Lisa Smith</h2>
                    <p>Digital Marketer</p>
                </div>
            </div>
        </div>
    </div>
</body>

</html>
@import url("https://fonts.googleapis.com/css2?family=Poppins:[email protected];300;400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  display: grid;
  font-family: "Poppins", sans-serif;
  place-items: center;
  background: rgba(252, 248, 2, 0.74);
}

.main_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  width: 1280px;
  padding: 20px;
  background: #ff0;
}

.person_box {
  width: 33%;
  margin: 5px;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.person_box .img {
  width: 100%;
  height: 100%;
  background: rgb(253, 253, 253);
}

.person_box .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person_box .content_box {
  position: relative;
  left: 0;
  bottom: -10000px;
  width: 100%;
  height: 400px;
  transition: 0.5s ease;
  text-align: center;
  -webkit-transition: 0.5s ease;
  -moz-transition: 0.5s ease;
  -ms-transition: 0.5s ease;
  -o-transition: 0.5s ease;
}

.person_box .content_box h2 {
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #fff;
}

.person_box .content_box p {
  letter-spacing: 2px;
  color: #fff;
}

.person_box .content_box .box {
  position: absolute;
  left: 30%;
  bottom: 40px;
}

.person_box:hover .content_box {
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(199, 196, 0, 0.01) 0,
    rgba(199, 196, 0, 0.25) 25%,
    rgba(199, 196, 0, 0.5) 50%,
    rgba(199, 196, 0, 0.75) 75%,
    rgba(199, 196, 0, 0.95) 100%
  );
}

@media (max-width: 767px) {
  .main_box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
  }

  .person_box {
    width: 100%;
    margin: 5px 0;
  }
}

Don’t Forget to Follow me on all Social Network

YouTube: https://www.youtube.com/channel/UCw9etYfx-25oKB_qt1fFNWw

Facebook Page: https://www.facebook.com/codingbd2021

LinkedIn: https://www.linkedin.com/in/sajjat-ho… 

GitHub: https://github.com/cgsaleh8383

You can see Animated eid mubarak

Related Posts

Leave a Reply

Your email address will not be published.