Movies Coding 2024



<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

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

<title>Image with Play Icon</title>

<style>

  body {

    display: flex;

    justify-content: center;

    align-items: center;

    height: 100vh;

    margin: 0;

    background-color: #f0f0f0;

  }

  .container {

    position: relative;

    width: 400px; /* Adjust as needed */

    text-align: center;

  }

  .image-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.5);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    transition: opacity 0.3s ease;

  }

  .container:hover .image-overlay {

    opacity: 1;

  }

  .play-icon {

    color: #fff;

    font-size: 48px;

  }

  .download-btn {

    position: absolute;

    bottom: 20px; /* Adjust as needed */

    left: 50%;

    transform: translateX(-50%);

    padding: 20px 40px; /* Adjust as needed */

    background-color: #ff5f6d;

    color: #fff;

    border: none;

    border-radius: 50px; /* Ensure it's a circle */

    font-size: 20px; /* Adjust as needed */

    cursor: pointer;

    z-index: 1;

    transition: background-color 0.3s;

  }

  .download-btn:hover {

    background-color: #ff415b;

  }

</style>

</head>

<body>


<div class="container">

  <img src="https://i.ytimg.com/vi/NeUgoOkzcCU/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLDJkw7badJ3HKFl5FCoDjWIVXBz5g" alt="Your Image" width="400" height="300"> <!-- Replace "your-image-url.jpg" with your image URL -->

  <div class="image-overlay">

    <span class="play-icon">&#9654;</span>

  </div>

  <button class="download-btn" onclick="openNewWebsite()">Download</button>

</div>


<script>

  function openNewWebsite() {

    window.open('@zstricksclick', '_blank'); // Replace 'place add' with the URL of the website you want to open

  }

</script>


</body>

</html>

Post a Comment

Previous Post Next Post