Is there a way to make the :hover
comment stay even after you leave the mouse from being over it?
Example of something that doesn't work because of it:
#SS {
width: 300px;
height: 300px;
background-image: url(https://media1.tenor.com/images/a8479ab2587f60773c0032ada0c85d3b/tenor.gif?itemid=5751040);
background-size: cover;
margin: auto;
}
#SS:hover {
transform: translate(500px);
}
#SS p {
text-align: center;
font-size: 140%;
font-weight: bold;
color: red;
text-shadow: 0 0 5px black;
padding-top: 265px;
}
<div id="SS">
<p>You will never catch me!!!</p>
</div>