Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LzxHahaha committed Jan 18, 2018
1 parent 67b7b78 commit 3e45092
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
10 changes: 8 additions & 2 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ html, body {
}
}
}
}

.u-line { height:1px; margin-bottom:10px; background:#DEEAF2; }


/* 以下部分为保留用来兼容原有代码,新页面中不要使用 */

@component-namespace g {
/* 主要内容区块,白底圆角boxshadow */
@b section {
@e breadcrumb {
Expand Down Expand Up @@ -125,8 +133,6 @@ html, body {
color: #333;
}


.u-line { height:1px; margin-bottom:10px; background:#DEEAF2; }
.u-table-btns { display: flex; justify-content: center; }
.u-table-btns button { position: relative; margin-right: 10px; color: #0398ff; min-width: 0; }
.u-table-btns button::after { content: "";position: absolute; top: 5px;right: -13px; width: 1px; height: 15px; background-color: #eceef2; }
Expand Down
23 changes: 23 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
plugins: [
require('postcss-import')({
path: './src/style'
}),
require('postcss-salad')({
browsers: ['ie > 9', 'last 2 versions'],
features: {
bem: {
shortcuts: {
component: 'b',
modifier: 'm',
descendent: 'e'
},
separators: {
descendent: '__',
modifier: '--'
}
}
}
})
]
};

0 comments on commit 3e45092

Please sign in to comment.