Answers for "css div last child"

CSS
0

apply css on last child in parent div

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

selecting last child css

p:last-child {
  font-size: 0.75em;
}
Posted by: Guest on January-31-2020

Browse Popular Code Answers by Language