Answer the question
In order to leave comments, you need to log in
How to spell :nth?
welovepavel.esy.es/1/
.mc_item_wrap_us:nth(0) {
content: "";
position: absolute;
margin: -42px 132px;
border: 20px solid transparent; border-bottom: 16px solid #353535;
background-color: yellow;
}
.mc_item_wrap_us:nth(1){
content: "";
position: absolute;
margin: -42px 499px;
border: 20px solid transparent; border-bottom: 16px solid #353535;
background-color: red;
}
.mc_item_wrap_us:nth(2){
content: "";
position: absolute;
margin: -42px 315px;
border: 20px solid transparent; border-bottom: 16px solid #353535;
background-color: green;
}
Answer the question
In order to leave comments, you need to log in
:nth-hild
+ it's possible that you use more pseudo-selectors - after, before
Learn the mathematical part (Dmitry Potapenko ©)
htmlbook.ru/css/nth-of-type
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question