This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$font-stack-code: Menlo, monospace, consolas; | |
$font-stack-article: 'Merriweather',serif; | |
$darkgrey: #656c7a; | |
$lightgrey: #e7e9ee; | |
.code-block { | |
font: 100% $font-stack-code; | |
color: $darkgrey; | |
background-color: $lightgrey; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set default font-size | |
@function getRem($size) { | |
$rem: $size / 16px; | |
@return $rem * 1rem; | |
} | |
@mixin font-size($size) { | |
font-size: $size; | |
font-size: getRem($size); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div { | |
display: -webkit-box; | |
display: -webkit-flex; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: flex; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const autoprefixer = require('gulp-autoprefixer'); | |
gulp.task('prefix', () => | |
gulp.src('styleTest.css') | |
.pipe(autoprefixer({ | |
browsers: ['last 99 versions'], | |
cascade: false | |
})) | |
.pipe(gulp.dest('style')) | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div { | |
display: flex; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
gulp.task('taskname', function(){ | |
console.log('\nHello world!\n'); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img[alt=""], | |
img:not([alt]){ | |
border: 4px dashed red; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.blob-wrapper::-webkit-scrollbar {background-color:#fff;height:4px} | |
.blob-wrapper::-webkit-scrollbar-track {background-color:#fff} | |
.blob-wrapper::-webkit-scrollbar-thumb {background-color:#babac0;border-radius:4px} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::-webkit-scrollbar {/* entire scrollbar scope */} | |
::-webkit-scrollbar-button {/* directional buttons at the top and bottom of the scrollbar */} | |
::-webkit-scrollbar-track {/* space below the scrollbar */} | |
::-webkit-scrollbar-track-piece {/* not covered area by the scrollbar-thumb */} | |
::-webkit-scrollbar-thumb {/* draggable scrollbar itself */} | |
::-webkit-resizer {/* resizser at the bottom of the scrollbar */} | |
::-webkit-scrollbar-corner {/* bottom of the scrollbar without resizse */} |