mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
修复:添加reset.css和cell加上right-icon的slot (#27)
* add reset css and remove postcss-salad * cell add right icon slog
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.van-icon-arrow {
|
||||
@e right-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 15px;
|
||||
|
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
css组件库入口,组装成css组件库
|
||||
*/
|
||||
@import './reset.css';
|
||||
@import './button.css';
|
||||
@import './cell.css';
|
||||
@import './card.css';
|
||||
|
26
packages/vant-css/src/reset.css
Normal file
26
packages/vant-css/src/reset.css
Normal file
@@ -0,0 +1,26 @@
|
||||
@reset-global mobile;
|
||||
|
||||
body {
|
||||
font-family: Helvetica, "STHeiti STXihei", "Microsoft YaHei", Tohoma, Arial, sans-serif;
|
||||
color: #333;
|
||||
background-color: #eee;
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
|
||||
a {
|
||||
background: transparent;
|
||||
text-decoration: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
button,
|
||||
input[type='number'],input[type='text'],input[type='password'],input[type='email'],input[type='search'],
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit;
|
||||
font-size: 100%;
|
||||
margin: 0;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
}
|
Reference in New Issue
Block a user