+ 1
how to short css code
how to short this like excel a1:a5 have any option/trick? Please note, I was asking for my confirmation, and I have also used id for JavaScript. Therefore, I will not use class instead of id. #o1, #o2, #o3, #o4, #o5, #o6, #o7, #o8, #o9, #o10 { display: block; margin: 5px; }
2 ответов
+ 3
Hi give them a one class
#0all {
display: block;
margin: 5px;
}
And don't forget the dry // don't repeat yourself
0
Yes ☑️ #05