css on click
a:active
{
background-color: yellow;
}.x-btn:focus, .button:focus, [type="submit"]:focus {
outline: none;
}:active {
css declarations;
}
P Example
Click on a <p> element to change its text color to red:
<p id="demo" onclick="myFunction()">Click me to change my text color.</p>
<script>
function myFunction() {
document.getElementById("demo").style.color = "red";
}
</script>
Also in CSS:
- summation in jupyter markdown
- css select all elements except last css
- how to align an image left in css
- textarea scale to content
- material design css
- comment css
- remove css jquery
- removing space between words css
- como trocar ordem dos elementos pelo dispositivo html
- css can't override bootstrap
- html static background
- flexbox css
- comentarios en archivo scss
- how to mirror object through css
- nice button css
- @media css
- css doesnt update
- diable focus button css
- static css is not fetching style in django
- add css
- remove bullets from list css
- pourquoi mon css ne fonctionne pas quand je recharge la page
- font weight css
- css browser prefixes