loop scss
@for $i from 1 through 6 {
.grid-#{$i} {
width: 100px*$i;
}
}
loop scss
@for $i from 1 through 6 {
.grid-#{$i} {
width: 100px*$i;
}
}
loops scss
@for $i from 1 through 3 {
ul:nth-child(3n + #{$i}) {
background-color: lighten($base-color, $i * 5%);
}
}
loop scss
@for $i from 1 through 3 {
ul:nth-child(3n + #{$i}) {
color: blue;
}
}
sass loops
$base-color: #036;
@for $i from 1 through 3 {
ul:nth-child(3n + #{$i}) {
background-color: lighten($base-color, $i * 5%);
}
}
scss loop
@each $theme-name, $theme-color in $colors-theme-bo {
.theme-#{$theme-name} {
color: $theme-color;
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us