link sass in html code example
Example 1: scss link style
$fade-white :
$white :
a{
color: $fade-white;
text-decoration: none;
&:visited{
color: $white;
text-decoration: none;
opacity: 0.42;
}
&:hover{
opacity: 0.7;
text-decoration: underline;
}
&:active{
opacity: 1;
text-decoration: none;
}
}
Example 2: css sass scss
/*SMART DIFFERENCE*/
/*CSS*/
body {
font: 100% Helvetica, sans-serif;
color:
}
/*SCSS*/
$font-stack: Helvetica, sans-serif;
$primary-color:
body {
font: 100% $font-stack;
color: $primary-color;
}
/*SASS*/
$font-stack: Helvetica, sans-serif
$primary-color:
body
font: 100% $font-stack
color: $primary-color