DEV Community

Cover image for An Introduction to the Hover Pseudo-class

An Introduction to the Hover Pseudo-class

Laurie on August 27, 2019

Before we dive into hover let's get some foundational knowledge out of the way. What is a pseudo-class? To start, pseudo-classes are a keyword tha...
Collapse
 
paceaux profile image
Paceaux

Next we need to the the PostCSS plugin for this.

Collapse
 
csorbamatyi profile image
Matyi Csorba

And if you add the "transition: background-color 0.3s linear;" to the button, you can make nice pure css animations with it.

Collapse
 
refiloedig profile image
Refiloe Digoamaye

simple explanation, thank you.

Collapse
 
thomasbnt profile image
Thomas Bnt ☕

Nice post ! 👏🏼

Collapse
 
laurieontech profile image
Laurie

Thanks so much :)

Collapse
 
gowtham profile image
Gowtham Kumar

Simple so clear tq,.