Answers for "count elements with css if only you have just 2 - no more or less"

CSS
0

count elements with css if only you have just 2 - no more or less

.cards-row:first-child:nth-last-child(2),
  .cards-row:first-child:nth-last-child(2) ~ .cards-row{
    margin-bottom: 2.2rem;
  }
Posted by: Guest on March-04-2022

Code answers related to "count elements with css if only you have just 2 - no more or less"

Browse Popular Code Answers by Language