I have a div defined like following:
<div id="purple" class="play">
<audio id="purpleBoxAudioSorting" src="sounds/SortingPagePurpleBox.mp3"></audio>
<p id="purpleBox">
Content of the box
</p>
</div>
I am trying to add box shadow on hover to div #purple, but it is set for the text inside of it(#purpleBox) rather than the parent div instead.
here is the CSS:
#purple {
background: url('../images/purple box.png') no-repeat center center;
position:absolute;
left:344px;
top:85px;
}
#purple :hover {
box-shadow: 0 0 50px #FFF61D;
}
What am I doing wrong here?