Простая CSS библиотека элементов для личных проектов
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
452 B

2 years ago
// PADDINGS
@for $i from 0 through 10 {
.p-#{$i} {padding: #{$i*5}px;}
.pt-#{$i} {padding-top: #{$i*5}px;}
.pb-#{$i} {padding-bottom: #{$i*5}px;}
.pl-#{$i} {padding-left: #{$i*5}px;}
.pr-#{$i} {padding-right: #{$i*5}px;}
}
@for $i from 0 through 10 {
.m-#{$i} {margin: #{$i*5}px;}
.mt-#{$i} {margin-top: #{$i*5}px;}
.mb-#{$i} {margin-bottom: #{$i*5}px;}
.ml-#{$i} {margin-left: #{$i*5}px;}
.mr-#{$i} {margin-right: #{$i*5}px;}
}