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 100vh minus header 
Css :: profile page html css template 
Css :: align svg and text inside button 
Css :: CSS - The Class Selectors - Element 
Css :: css click through after 
Css :: google font smooth 
Css :: what css font smoothing 
Css :: html css drow line 
Css :: css background size 
Css :: css !important 
Css :: Extracting data in scrapy 
Css :: how to see applications installed by wine cmd 
Css :: css outline shorthand 
Css :: css light mode 
Css :: advanced selectors in css 
Css :: vim unset number 
Css :: how to customize placeholder css 
Css :: how to render css in flask 
Css :: other children than first css 
Css :: text-shadow 
Css :: quitar flecha summary html css 
Css :: inline-block column appear higher than others 
Css :: tailwind css symfony 
Css :: css hide text indicator 
Css :: capitalize only first letter css 
Css :: scss @include mq() 
Css :: siteorigin hide row 
Css :: build Android App Bundle aap with ionic 
Css :: More examples and patterns in scrapy 
Css :: css ditribute width equealy to child components 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =