@for $i from 1 through 6 {
.grid-#{$i} {
width: 100px*$i;
}
}
@for $i from 1 through 3 {
ul:nth-child(3n + #{$i}) {
background-color: lighten($base-color, $i * 5%);
}
}
$base-color: #036;
@for $i from 1 through 3 {
ul:nth-child(3n + #{$i}) {
background-color: lighten($base-color, $i * 5%);
}
}
@for $i from 1 through 3 {
ul:nth-child(3n + #{$i}) {
color: blue;
}
}
@each $theme-name, $theme-color in $colors-theme-bo {
.theme-#{$theme-name} {
color: $theme-color;
}
}
Code Example |
---|
Css :: z pos css |
Css :: rounded gradient border css |
Css :: bootstrap list |
Css :: show existing virtualenvs |
Css :: how to prevent select image in css |
Css :: mat stepper custom css |
Css :: margin top inline block css |
Css :: bootstrap file upload |
Css :: mini-css-extract-plugin |
Css :: css padding |
Css :: a no underline |
Css :: line in middle word css |
Css :: scss breakpoints |
Css :: set svg background color css |
Css :: why do we need hexadecimal number system |
Css :: kerning css |
Css :: elementor accordion closed by default |
Css :: background image syntax in css if it is in folder |
Css :: css grid no stretch |
Css :: align items center css |
Css :: positioning button inside div |
Css :: vertical align text in div bottom |
Css :: hide element css |
Css :: bootstrap create full screen background image |
Css :: child css |
Css :: CSS box-shadow border shadow |
Css :: css nth of type |
Css :: span to left css |
Css :: all rights reserved |
Css :: css smooth scroll |