Answers for "nth-of-type last 2 element"

CSS
0

nth last of type

span:nth-last-of-type(0) {
  background-color: lime;
}
Posted by: Guest on June-17-2021
0

nth-of-type(2):before

p:nth-of-type(2) ==> Selects every <p> element that is the second p element of its parent:

Example
Specify a background color for every <p> element that is the second p element of its parent:

p:nth-of-type(2) {
  background: red;
}
Posted by: Guest on September-18-2021

Code answers related to "nth-of-type last 2 element"

Browse Popular Code Answers by Language