pseudo selector css
A pseudo-class is a selector that selects elements that are in a specific state, e.g. they are the first element of their type, or they are being hovered over by the mouse pointer.element:nth-child(1)
.element:hover
.element:visitedbutton:hover {
color: blue;
}
A pseudo-class is a word such as :hover that makes its changes
to the selected element by adding it along side the selector
before the curly braces in CSS instead of inside the curly
braces.
You can search for a list of pseudo-class online.
button/anchor:hover / :active / :checked
:nth-of-type(3) // select the third element
:nth-of-type(3n) // select an element every three
Also in JavaScript:
- react after deployment givin nginx 404
- 'react-scripts' n’est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.
- sweetalert angular 8
- how to add array numbers in javascript
- how to remove an object from array in react native
- jest Cross origin http://localhost forbidden
- Javascript compare two objects
- flask return status code 200 and json
- set timer
- document ready javascript vanilla
- javascript conditional
- array.slice
- p5js click on button
- ajax with progress bar
- javascript how to get the last character of a string
- cordova delete cache
- how to right text with js
- convert string to array js
- angular scroll to element horizontally
- click and copy jquery dynamic content
- JQuery UI Saving Sortable List
- get params js
- shadow generator react native
- web scraping node js puppeteer