For some reason i've got a background file like this with 3 buttons merged, now i'd like to have a transparent button that superimpose over the button image and be responsive. I've tryed with % and with hv but i cannot understand how manage this... this is an example of transparent buttons (with red border for debug)
same as before but with different size of the browser window
What i'm trying to achieve is to have the transaprent buttons always in the same position of the circles
/* Homepage */
.home-container{
width:100hv;
height: 100%;
}
.home-img{
width: 100%;
height: 100%;
}
.ITA-button{
width: 65px;
height: 65px;
top: 69.7vh;
right: 69vw;
position: absolute;
transform: translateX(-50%),translateY(-50%);
background-color: transparent;
border: transparent;
cursor: pointer;
}
.ENG-button{
width: 65px;
height: 65px;
top: 69.7vh;
right: 47vw;
position: absolute;
transform: translateX(-50%),translateY(-50%);
background-color: transparent;
border-style: solid;
border-color: tomato;
cursor: pointer;
}
.FRA-button{
width: 65px;
height: 65px;
top: 69.7vh;
right: 25vw;
position: absolute;
transform: translateX(-50%),translateY(-50%);
background-color: transparent;
border-style: solid;
border-color: tomato;
cursor: pointer;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-s">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>IPAD n°2</title>
<link rel="stylesheet" href="CSS/style.css">
<!-- annullo favicon -->
<link rel="icon" href="data:,">
</head>
<body class="animate-in">
<div class="home-container">
<a class="home-img" href="https://ibb.co/HFjFT3s"><img src="https://i.ibb.co/NVMV2bP/S01-Language-Skyway.png"></a>
<button class="ITA-button"></button>
<button class="ENG-button">ENG</button>
<button class="FRA-button">FRA</button>
</div>
</body>
</html>
this is the css that i'm working on, the image is contained in home-img class