SASS
Step 1 : Install Ruby
Step 2 : Open Command Line
Step 3 : Install SASS
gem install sass
check version
sass -v
Create sass file .scss or.sass
sass input.scss outpit.css
sass style.scss style.css
You can also tell Sass to watch the file and update the CSS
every time the Sass file changes:
sass --watch style.scss:style.css
LESS
In general to change the directory to required directory use following command
cd
To check the list of files use the following command
ls
- It is node package so node js must be installed before installing less in the pc.
- less must be installed globally -g
npm install less -g
- To see the available bits of help see the following comments
lessc --help
lessc -h
- To convert a less file to a style.css file run the following commands
lessc variable.less style.css
- To continuously watch the changes and made the CSS file update run the following command
lessc --watch agency.less custom.css
- To check the version of the less
lessc -v
BOWER
- To install bower have to install node.js first as it is a node js package
- It must be installed globally
npm install -g bower
- To initiate bower in a directory
bower init
- Some bower packages
bower install fontawesome
bower install jquery
bower install bootstrap
- To check the version of bower
bower -v
Top comments (0)