Answers for "css target last child of parent"

CSS
0

apply css on last child in parent div

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

Browse Popular Code Answers by Language