微信小程序中<view>中的CSS样式合集

/*======【主背景】=========*/
.conter{
height: 100%;
display: flex;
flex-direction: column; /* 容器下按钮横向或纵向排列 */
align-items: center; /* 容器下按钮的对齐方式 */
box-sizing: border-box; /* 不让后面的边框等设置修改 */
background-repeat: repeat; /* 图像平铺 */
padding: 30 rpx; /* 内边距 */
background-image: url( "../../image/timg.jpg")



}

/*======【数字显示背景】=========*/

.screen{
background-color: bisque; /* 背景颜色 */
border-radius: 3px; /* 圆角的角度 */
text-align: right; /* 控件内的【对齐方式】 */
width: 710 rpx;
height: 100 rpx;
line-height: 100 rpx; /* 行高 */
margin-right: 10 rpx; /*容器内控件的显示的【右边距】*/
margin-left: 10 rpx; /*容器内控件的显示的【左边距】*/
margin-bottom: 30 rpx; /*容器内控件的显示的【底边距】*/
font-size: 28px; /*容器内控件的【字体】*/
padding-right: 25 rpx; /*【容器外边距】*/

}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值