Answers for "last child css tricks"

CSS
0

css last 3 childs

#something a:nth-last-child(-n+3) {
    /*declarations*/
}
Posted by: Guest on October-13-2020
4

selecting last child css

p:last-child {
  font-size: 0.75em;
}
Posted by: Guest on January-31-2020
2

css last child with class

/*This will only work if the last child of someEID has 
the class .myclassName 
if the last child does not have class name us js*/
#someEID .myClassName:last-child {
    background: blue;
}
Posted by: Guest on March-11-2020

Browse Popular Code Answers by Language