9
Can you transmit a sound effect by touching the mouse to an object, text, etc.? wanted that when you hover over some object with effect 'Hover' that a sound effect, being any type of sound that define, da para aplicar isso com Css? or just with JS?
.menu{ display:flex;
flex-wrap: wrap;
}
.menu > div{ background-color:#09F;
padding:20px;
cursor:pointer;
margin-left:10px;
border-radius:30%;
font-weight:bold;
box-shadow:0 3px 3px rgba(0,0,0,.4);
}
.menu > div:hover{ background-color:#0CC;
transform:scale(1.1);
box-sizing:border-box;
box-shadow: 1px 1px 1px 2px #333333;}
<div class="menu">
<div>Botão-1</div>
<div>Botão-2</div>
<div>Botão-3</div>
</div>
This is not possible to do with
css
, need to usejavascript
– Ricardo Pontual