Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mukhriddin-dev/sass-starter-2023

sass-starter-2023
https://github.com/mukhriddin-dev/sass-starter-2023

sass sass-mixins scss

Last synced: 17 days ago
JSON representation

sass-starter-2023

Awesome Lists containing this project

README

        

### SCSS starter


### FOLDER STRUCTRE


- ### assets
>
- images
- fonst


- ### css

>
- style.css (expaned)
- style.min.css (minified)


- ### public

>
- favicon (folder)
- robots.txt (SEO)


- ### scss

>
- all (folder) (layout.scss , ETC)
- robots.txt (SEO)


### Variables

```
$varName: value;

for example: 👉 $text-color: red;


```

### Nested in BEM

```

for example: 👉

index.html




inner child


style.scss

.parent{

width:100%;
padding:50px;

&__child{
width:300px;
height:300px;
background:teal;

&-inner{
color: $text-color;
font-size:20px;
}
}
}

```


### Extends

```

%extendName{
property:value;
...
..
.
}

.className{
@extand %extendName;
}

```


### Mixins

```

@mixin mixinName($arg1, arg2, ....){
property1:$arg1;
property2:$arg2;
color:red;
...
..
.
}

.className{
@include mixnName(value1, value2 , ...);
}

```