Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
.test:not(.nohover):hover {
border: 1px solid #0814bf;
}
</style>
</head>
<body>
<div class="test">
Some text
</div>
<div class="test">
Some text
</div>
<div class="test nohover">
Some text with a disabled hover effect.
</div>
</body>
</html>