移除postcss-reset (#35)

* remove postcss reset
This commit is contained in:
张敏 2017-05-25 16:38:08 +08:00 committed by GitHub
parent d659ad0c12
commit cd996382e6
4 changed files with 44 additions and 7 deletions

View File

@ -4,7 +4,6 @@ var config = {
'separators': {'descendent': '__', 'modifier': '--'}
}
};
var reset = require('postcss-css-reset')();
// https://github.com/trysound/postcss-easy-import
var partialImport = require('postcss-easy-import')();
@ -25,7 +24,6 @@ module.exports = function (webpack) {
partialImport,
bem,
precss,
autoprefixer,
reset
autoprefixer
];
};

View File

@ -105,7 +105,6 @@
"mocha": "^3.2.0",
"optimize-css-assets-webpack-plugin": "^1.3.0",
"postcss": "^5.1.2",
"postcss-css-reset": "^1.0.2",
"postcss-easy-import": "^2.0.0",
"postcss-loader": "^1.3.3",
"precss": "^1.4.0",

View File

@ -18,7 +18,6 @@
"gulp": "^3.9.1",
"gulp-cssmin": "^0.1.7",
"gulp-postcss": "^6.1.1",
"postcss-css-reset": "^1.0.2",
"postcss-easy-import": "^2.0.0",
"precss": "^1.4.0",
"saladcss-bem": "^0.0.1"

View File

@ -1,4 +1,46 @@
@reset-global mobile;
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline
}
html {
line-height: 1
}
ol, ul {
list-style: none
}
table {
border-collapse: collapse;
border-spacing: 0
}
caption, th, td {
font-weight: normal;
vertical-align: middle
}
q, blockquote {
quotes: none
}
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none
}
a img {
border: none
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
display: block
}
* {
box-sizing: content-box;
@ -22,7 +64,6 @@ input[type='number'],input[type='text'],input[type='password'],input[type='email
select,
textarea {
font-family: inherit;
font-size: 100%;
margin: 0;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-appearance: none;