Hover effect

Hover effect

Size
Price:

Read more


Hover effect
Hello dosto I this article I will so you my amazing project the name is hover effect

The sorse code hare
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .paper{
      width:100%;
      height:100vh;
      display:flex;
      justify-content: center;
      align-items: center;
    }
    
    .image{
      width:500px;
      position:relative;
      
    }
    
    img{
      width:100%;
      display:block;
      margin:auto;
    }
    
    .content{
      width:100%;
      height:100%;
      top:0;
      left:0;
      position:absolute;
      background:rgba(0,0,0,0.6);
      justify-content: center;
      align-items:center;
      display:flex;
      flex-direction:column;
      opacity:0;
      transition:0.6s
    }
    
   .content:hover{
     opacity:1;
     
   } 
    .content h1{
      font-size:50px;
      color:yellow;
    }
    
    
    .content p{
font-size:40px;
color:#D83133;
    }
  
   
  </style>
</head>
<body>
<div class="paper">
  <div class="image">
    <img src="/Screenshot_20240609-030908.jpg" alt="">
    
    <div class="content">
      <h1>Krishna</h1>
     <p>hello i am software developer</p>
    </div>
    
  </div>
  
</div>
</body>
</html>

        


0 Reviews

Contact form

Name

Email *

Message *