Answers for "after css without last child"

CSS
13

not last child css

p:not(:last-child) { 
	margin-bottom: 20px
}
Posted by: Guest on June-15-2020
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

Browse Popular Code Answers by Language