#id{
background-color: red;
}
#id:active{
background-color: Green;
}
/* note: Active doesn't mean click,
it's when you press and hold the left mouse button.
so when you press and hold, the background will change from red to green,
and when you release the mouse it will change back to red */
/* useful for scrollbar */
#container::-webkit-scrollbar-thumb:active{
background-color: /* colour */;
}
form :active {
color: red;
}
form button:active {
background: black;
}
button.selected{
backround:red;
}
Code Example |
---|
Css :: css glass |
Css :: add css to django |
Css :: applying multiple transform values to an object css |
Css :: css block |
Css :: box-sizing |
Css :: 3d sphere |
Css :: circle css animation |
Css :: adminlte.min.css.map error |
Css :: background-clip |
Css :: css icons free |
Css :: input disabled css |
Css :: CSS Border - Shorthand Property |
Css :: linear gradient css |
Css :: sass example html |
Css :: * css meaning |
Css :: css code for margin |
Css :: move div up and down infinite |
Css :: grandezza caratteri css |
Css :: pink hex code |
Css :: css media query for mobile and hide a row wordpress |
Css :: access lamp folder using terminal mac |
Css :: codebuddysurej |
Css :: mettre icloud en dossier barre |
Css :: contact form 7 error styles css |
Css :: navbar link goes down more than expected |
Css :: revert workflow version servicenow |
Css :: .dropdown { float: left; overflow: hidden; } |
Css :: purpose |
Css :: input on Internet explore has close icon |
Css :: sass preprocessor visual studio code |