项目作者: hritik5102
项目描述 :
Static sass website :
高级语言: CSS
项目地址: git://github.com/hritik5102/Sass-website.git
Sass-website
SASS : Synatically awesome stylesheet
- CSS PreProcessor / Extension
- Use the feature that do not exist in CSS
- SASS file are compiled to regular CSS
Features of scss :
- Provide a variable declaration
- Nesting property
- Modules
- Mixing and function
- Inheritance
- Operator
- Conditional property
Get free SVG from Here
Pre-requisite :
$ npm install -g scss
Two ways to do run your sass :
1. $ sass --watch scss/style.css css/style.css
- Install live sass extension from vs-code and add configuration in settings.json
"liveSassCompile.settings.formats":[
// This is Default.
{
"format": "expanded",
"savePath": "/css"
}
],
"liveSassCompile.settings.generateMap":false,
- When you create _filename.scss it will not compiled to .css because it’s partial file so,
you can store your define variable in that file and import that file any where you required . - we can access or shared property of one scss file to another .
Theme :
$primary-color: #ffffff;
Rendered ui
$primary-color: #0e6cff;
Rendered ui