Answers for "how to find last child when my parent has different children in css"

CSS
0

apply css on last child in parent div

.parent > *:last-child {
  background-color: red;
}
Posted by: Guest on August-26-2020

Code answers related to "how to find last child when my parent has different children in css"

Browse Popular Code Answers by Language