Answers for "how to select firt and last child element in parent 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 select firt and last child element in parent css?"

Browse Popular Code Answers by Language