Skip to content

Commit

Permalink
Use Autoprefixer to add the vendor prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AllThingsSmitty authored and alrra committed Mar 13, 2015
1 parent 4f6a87f commit c7057be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 4 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ gulp.task('copy:main.css', function () {

return gulp.src(dirs.src + '/css/main.css')
.pipe(plugins.header(banner))
.pipe(plugins.autoprefixer({
browsers: ['last 2 versions', 'ie >= 8', '> 1%'],
cascade: false
}))
.pipe(gulp.dest(dirs.dist + '/css'));

});

gulp.task('copy:misc', function () {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"del": "^1.1.1",
"glob": "^5.0.1",
"gulp": "^3.8.11",
"gulp-autoprefixer": "^2.1.0",
"gulp-header": "^1.2.2",
"gulp-jscs": "^1.4.0",
"gulp-jshint": "^1.9.2",
Expand Down
7 changes: 0 additions & 7 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ html {
* Customize the background color to match your design.
*/

::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}

::selection {
background: #b3d4fc;
text-shadow: none;
Expand Down Expand Up @@ -194,8 +189,6 @@ textarea {
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}
Expand Down

0 comments on commit c7057be

Please sign in to comment.