Answers for "after of last child has class css"

CSS
0

last child after css

menu > li {
  display: inline;
}

menu > li::after {
  content: ' | ';
}

menu > li:last-child::after {
  content: '';
}
Posted by: Guest on December-18-2021
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 "after of last child has class css"

Browse Popular Code Answers by Language