- images
- fonst
- style.css (expaned)
- style.min.css (minified)
- favicon (folder)
- robots.txt (SEO)
- all (folder) (layout.scss , ETC)
- robots.txt (SEO)
$varName: value;
for example: 👉 $text-color: red;
<hr>
for example: 👉
<!-- HTML CODE -->
index.html
<div class="parent">
<div class="parent__child">
<span class="parent__child-inner">
inner child
</span>
</div>
</div>
<!-- SCSS CODE -->
style.scss
.parent{
width:100%;
padding:50px;
&__child{
width:300px;
height:300px;
background:teal;
&-inner{
color: $text-color;
font-size:20px;
}
}
}
%extendName{
property:value;
...
..
.
}
<!-- call to extend -->
.className{
@extand %extendName;
}
@mixin mixinName($arg1, arg2, ....){
property1:$arg1;
property2:$arg2;
color:red;
...
..
.
}
<!-- call to extend -->
.className{
@include mixnName(value1, value2 , ...);
}