×
          
              
          
      
      Clear all filters including search bar
          
        Valeri Tandilashvili's Personal Professional Blog
      
    .btn-b {
    @include verticalGradient(white, lighten($beautifulHue, 30%));
}.btn-b {
    @include verticalGradient(white, $beautifulHue);
}@mixin verticalGradient($fromColor, $toColor) {
    background-color: $toColor;
    background-image: -moz-linear-gradient(top, $fromColor, $toColor);
    ...
    background-image: linear-gradient(to bottom, $fromColor, $toColor);
}
.btn-b {
    @include verticalGradient(blue, red);
}.btn-a {
    background-color: lighten($beautifulHue, 45%);
}a {
    color: $beautifulHue;
}
@import 'header';
.btn-a {
...headers and expires modules must be enabled on the server:sudo a2enmod headers 
sudo a2enmod expires
After that the server must be restarted:service apache2 restart
Then it will work if .htaccess contains the following:# for enabling browser caching
<filesMatch ".(css|jpg|jpeg|png|gif|js|ico)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch>css-minify package must be installed globally npm install css-minify -gInstalling globally is necessary.
Before minify command is run, css-dist directory must be created, where the output will be saved.
The command: css-minify -f css/d1.css will minify the specified .css file..site-header nav {
    ul {
        padding: 0;
        margin: 0;
    }
    li {
        list-style: none;
        float: left;
    }
}
After Sass preprocessor:.site-header nav ul {
    padding: 0;
    margin: 0;
}
.site-header nav li {
    list-style: none;
    float: left;
}