From 860ff7ee7f818bc0f60d8228670e584b3f6c218b Mon Sep 17 00:00:00 2001 From: Amaury Levé Date: Wed, 27 Jun 2018 12:38:58 +0200 Subject: FP S4662: SCSS directives --- its/plugin/projects/issues-project/src/file3.scss | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'its/plugin/projects/issues-project/src') diff --git a/its/plugin/projects/issues-project/src/file3.scss b/its/plugin/projects/issues-project/src/file3.scss index 20c7823..5ceb19c 100644 --- a/its/plugin/projects/issues-project/src/file3.scss +++ b/its/plugin/projects/issues-project/src/file3.scss @@ -61,4 +61,32 @@ unknown { /* S4670 | selecto @media screen and (unknown) { /* S4661 | media-feature-name-no-unknown */ width: 2px; +} + +@mixin adjust-location($x, $y) { + @if unitless($x) { + color: blue; + @debug "" + @warn "" + @error "" + } @else { + color: black; + } +} + +@for $i from 1 through 3 { + .item-#{$i} { width: 2em * $i; } +} + +@each $header, $size in (h1: 2em, h2: 1.5em, h3: 1.2em) { + #{$header} { + font-size: $size; + @include large-text; + } +} + +$i: 6; +@while $i > 0 { + .item-#{$i} { width: 2em * $i; } + $i: $i - 2; } \ No newline at end of file -- cgit v1.2.3