• Breaking News

    kisi bhi image ke upar audio player kaise lagaye

    <!DOCTYPE html>

    <html>

    <head>

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <style>

    * {box-sizing: border-box;}


    .container {

      position: relative;

      width: 50%;

      max-width: 300px;

    }


    .image {

      display: block;

      width: 100%;

      height: auto;

    }


    .overlay {

      position: absolute; 

      bottom: 0; 

      background: rgb(0, 0, 0);

      background: rgba(0, 0, 0, 0.5); /* Black see-through */

      color: #f1f1f1; 

      width: 100%;

      transition: .5s ease;

      opacity:0;

      color: white;

      font-size: 20px;

      padding: 20px;

      text-align: center;

    }


    .container:hover .overlay {

      opacity: 1;

    }

    </style>

    </head>

    <body>


    <h2>Image Overlay Title</h2>

    <p>Hover over the image to see the effect.</p>


    <div class="container">

      <img src="img_avatar.png" alt="Avatar" class="image">

      <div class="overlay"><audio controls="">

       <source src="https://drive.google.com/uc?export=download&amp;id=1ergAQpZkPbGx2vhKux5TBDEGuXc702EP" type="audio/mpeg"></source>

      

    </audio></div>

    </div>


    </body>

    </html>


    Image Overlay Title

    Hover over the image to see the effect.

    Avatar

    कोई टिप्पणी नहीं

    Post Top Ad

    Post Bottom Ad