63 lines
630 B
CSS
63 lines
630 B
CSS
/* 公共的css方法 */
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
|
|
.ais {
|
|
align-items: center;
|
|
}
|
|
|
|
.jc {
|
|
justify-content: center;
|
|
}
|
|
|
|
.js {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.ja {
|
|
justify-content: space-around
|
|
}
|
|
|
|
.wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.flex1 {
|
|
flex: 1
|
|
}
|
|
|
|
.column {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.fixed {
|
|
position: fixed;
|
|
}
|
|
|
|
.relative {
|
|
position: relative;
|
|
}
|
|
|
|
.absolute {
|
|
position: absolute;
|
|
}
|
|
|
|
|
|
.border-box {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.p15{
|
|
padding: 0 var(--f15);
|
|
}
|
|
|
|
.p25{
|
|
padding: 0 var(--f25);
|
|
}
|
|
|
|
.ellipsis {
|
|
overflow:hidden;
|
|
text-overflow:ellipsis;
|
|
white-space:nowrap;
|
|
} |