.element {
border-radius: 15px;
position: absolute;
transition: box-shadow 0.5s;
}
.element:hover {
box-shadow: 0 0 6px rgba(35, 173, 278, 1);
}
<div class="element" style="width: 100px; height: 50px;"></div>
This code works perfectly in Chrome and IE 11, BUT when I use this code in SharePoint, the IE does not detect the hover-event. Chrome does. Only when the div has a background color, the IE detects the event. Does anyone know why?!