back
Code
CSS
HTML
Web
#div87{
width:300px;
height:200px;
background-color:red;
}
#div87
:active
{
background-color:blue;
}
/* When #div87 is active, it will turn blue */