Skip to content

Instantly share code, notes, and snippets.

@fedir
Last active November 16, 2018 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fedir/ab35765c95a40a0c4b841d59c9d889a9 to your computer and use it in GitHub Desktop.
Save fedir/ab35765c95a40a0c4b841d59c9d889a9 to your computer and use it in GitHub Desktop.
Install node-sass on CentOS 6
yum update
yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_8.x | sudo -E bash -
npm install --unsafe-perm -g node-sass
type node-sass
npm install -g less
type lessc
lessc test.less test-less.css
node-sass test.scss test-scss.css
@blue: #3bbfce;
@margin: 16px;
.content-navigation {
border-color: @blue;
color: darken(@blue, 9%);
}
.border {
padding: @margin / 2;
margin: @margin / 2;
border-color: @blue;
}
$blue: #3bbfce;
$margin: 16px;
.content-navigation {
border-color: $blue;
color: darken($blue, 9%);
}
.border {
padding: $margin / 2;
margin: $margin / 2;
border-color: $blue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment