Following this video, some further explanation below this vid.
First of all you have to have SCSS activated.
You can do this in the settings:
In the example they used 4 divs.
The first class (top div) is designed, all other divs inherit from the first div:
The code they used can you copy here:
@for $i from 1 through 5 {
.div-cad6986:nth-child(#{ $i }n) {
top: $i * 100px;
}
}
Where .div-cad6986 is the div-class of the first div
Design by Lijn-B
Made with Cwicly
Leave a Reply