Answers for "how to access last child of div in css"

CSS
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

Code answers related to "how to access last child of div in css"

Browse Popular Code Answers by Language