water_xcx/pages/line/index.wxss

27 lines
589 B
Plaintext
Raw Permalink Normal View History

2025-04-15 15:44:51 +08:00
/**index.wxss**/
ec-canvas {
width: 100%;
height: 100%;
}
.container {
/*<生成绝对定位的元素*/
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
/*扩展和收缩 flex 容器内的元素,以最大限度地填充可用空间*/
display: flex;
/*主轴为垂直方向,起点在上沿*/
flex-direction: column;
/*交叉轴中点对齐*/
align-items: center;
/*两端对齐,项目之间的间隔相等*/
justify-content: space-between;
/*边框border和内边距padding在现有元素的宽度和高度*/
box-sizing: border-box;
}