css focus change color
<style>
.dabutton:focus {
background-color:yellow;
}
</style>
<button class="dabutton"></button> // <-- usage/*Changing the color the red when it starts*/
body{
background-color: red;
}
/*Changing the color to blue when you focus on the window*/
body:focus{
background-color: blue;
}
Also in CSS:
- responsive images css
- darken image css
- como fazer elementos que scroll diferente
- svg css
- css parent selector
- card syntax html
- css top bottom left right order
- css hero image
- how do I add a vertical margin in css
- css change text
- absolute path and relative path
- materialize css
- svg to css converter
- install webpack encore
- focus um elemento altera outro css
- css stylesheet template
- difference between class and id in html css
- font-weight css
- css padding vs margin
- border shadow css
- remove style from link
- Are HTML and Css programming languages?
- css in js
- Get Theme from URL Parameter and enable CSS theme