<span class="hover-effect">I'll have a hover effect if your primary input device supports hovering!</span>
@media (hover: hover) {
.hover-effect:hover {
border: solid #212121;
border-width: 0 0 2px 0;
}
}
/*********
Everything below me is unimportant :/
*********/
html, body {
color: rgba(0, 0, 0, 0.9);
font-family: "Raleway", sans-serif;
background-color: skyblue;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.