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 :: css transform translate rotate 
Css :: no scrollbar tailwind 
Css :: making a circle css 
Css :: javascript canvas pixel art 
Css :: wrap none css 
Css :: select2 hide selected options 
Css :: how to put image in button css 
Css :: install expo vector icons 
Css :: how to set image size without changing aspect ratio in css 
Css :: background properties css 
Css :: css border shorthand 
Css :: multiple divs next to each other 
Css :: css supports 
Css :: kommentar css 
Css :: css text align right 
Css :: how to get element details using cssselector using beautifulsoup 
Css :: css gradient 3 color 
Css :: background image with color overlay gradient css 
Css :: bootstrap 4 material icon vertical align 
Css :: css prevent new line div 
Css :: input type password css 
Css :: button type submit css selector 
Css :: Bootstrap default accordion arrow icon change 
Css :: change png color css 
Css :: border css shorthand 
Css :: Correct border property to add ROUNDED borders to the elements 
Css :: css z index 
Css :: backgorund color transitition css 
Css :: shrink div to fit content 
Css :: css nth-child 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =