Search
 
SCRIPT & CODE EXAMPLE
 

CSS

loop scss

@for $i from 1 through 6 {
    .grid-#{$i} {
        width: 100px*$i;
    }
}
Comment

loops scss

@for $i from 1 through 3 {
  ul:nth-child(3n + #{$i}) {
    background-color: lighten($base-color, $i * 5%);
  }
}
Comment

sass loops

$base-color: #036;

@for $i from 1 through 3 {
  ul:nth-child(3n + #{$i}) {
    background-color: lighten($base-color, $i * 5%);
  }
}




Comment

loop scss

@for $i from 1 through 3 {
  ul:nth-child(3n + #{$i}) {
   color: blue;
  }
}
Comment

scss loop

@each $theme-name, $theme-color in $colors-theme-bo {
  .theme-#{$theme-name} {
    color: $theme-color;
  }
}
Comment

PREVIOUS NEXT
Code Example
Css :: smooth scroll to anchor 
Css :: html details summary marker remove 
Css :: apple font css 
Css :: skeleton css cdn 
Css :: font shadow css 
Css :: css text no word wrap 
Css :: stop selection css 
Css :: disable bullets in ul 
Css :: css print landscape 
Css :: rainbow text with css 
Css :: limit p css 
Css :: @media for mobile 
Css :: square bullets css 
Css :: css div on the bottom 
Css :: div border glow effect css 
Css :: input date icon color change 
Css :: how to give opacity to background only 
Css :: Failed to start ssh.service: Unit ssh.service not found. 
Css :: css last 3 childs 
Css :: hiden file upload button css 
Css :: how to stretch the background image in css 
Css :: perfect circle css 
Css :: how to apply outline to text in html css 
Css :: css shadow on hover 
Css :: mirror text css 
Css :: how to center an overlay button using flex box 
Css :: center absolute 
Css :: css media screen 
Css :: font montserrat 
Css :: hiding button border when clicked 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =