css :focus
/*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:
- history of css
- label for centered image
- css flex vertical align
- @media css
- hover on father elemet activates a child element css
- css align text
- css style placeholder
- installer scss projet wordpress
- css calc height
- bootstrap.min.css
- center h1 css
- add a border to a div css
- blur effect css
- adding shadow to a div
- how to add 2 text shadows
- force to load https
- css anchor fill parent
- css font size
- how to link your css file to html
- font-style css
- sass mixin breakpoint
- css hover
- pure css heart
- select first div css