[wp_code id=”4″]

[wp_code id=”5″]

 

 

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>Image with Randomly Placed Buttons</title>
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
}

#container {
position: relative;
width: 100%;
max-width: 600px; /* Adjust the width as needed */
margin: 0 auto;
}

#image {
width: 100%;
height: auto;
display: block;
position: relative;
}

.button-container {
position: absolute;
width: 100%;
height: 100%;
}

.button {
display: inline-block;
background-color: #3498db;
color: #fff;
padding: 10px;
border: none;
cursor: pointer;
border-radius: 5px;
text-decoration: none; /* Remove default underline for anchor tags */
margin: 5px; /* Add some margin for spacing */
position: absolute;
}

#button1 { top: 10%; left: 20%; }
#button2 { top: 30%; left: 50%; }
#button3 { top: 50%; left: 80%; }
#button4 { bottom: 10%; left: 20%; }
#button5 { bottom: 30%; left: 50%; }
#button6 { bottom: 50%; left: 80%; }
#button7 { top: 70%; left: 50%; }

@media only screen and (max-width: 600px) {
.button {
font-size: 12px;
padding: 8px;
}

#button1 { top: 10%; left: 10%; }
#button2 { top: 30%; left: 50%; }
#button3 { top: 50%; left: 90%; }
#button4 { bottom: 10%; left: 10%; }
#button5 { bottom: 30%; left: 50%; }
#button6 { bottom: 50%; left: 90%; }
#button7 { top: 70%; left: 50%; }
}
</style>
</head>
<body>

<div id=”container”>

<img id=”image” src=”https://www.w3schools.com/howto/img_snow.jpg” alt=”Sample Image”>
<a href=”https://example.com/button1″ class=”button” id=”button1″>Button 1</a>
<a href=”https://example.com/button2″ class=”button” id=”button2″>Button 2</a>
<a href=”https://example.com/button3″ class=”button” id=”button3″>Button 3</a>
<a href=”https://example.com/button4″ class=”button” id=”button4″>Button 4</a>
<a href=”https://example.com/button5″ class=”button” id=”button5″>Button 5</a>
<a href=”https://example.com/button6″ class=”button” id=”button6″>Button 6</a>
<a href=”https://example.com/button7″ class=”button” id=”button7″>Button 7</a>
</div>

</body>
</html>