优化样式
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@import "./styles.scss";
|
||||
|
||||
@font-face {
|
||||
font-family: 'iconfont'; /* project id 1995974 */
|
||||
src: url('https://at.alicdn.com/t/font_1995974_ihzpmuv4lpk.eot');
|
||||
@@ -272,6 +273,15 @@ img {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-base {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
|
||||
&.center {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-between {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
}
|
||||
|
||||
@for $i from 1 through 30 {
|
||||
.f-#{$i} {
|
||||
font-size: #{$i}px;
|
||||
}
|
||||
@each $p, $pv in (margin:m, padding:p) {
|
||||
.#{$pv}-#{$i} {
|
||||
#{$p}: #{$i}px;
|
||||
@@ -27,3 +30,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.through{
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user