3 Star 1 Fork 0

blackCA/carBLE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
app.wxss 1.80 KB
一键复制 编辑 原始数据 按行查看 历史
BlackCat 提交于 2019-11-11 14:32 . 添加hover-class
@import "utils/iconfont.wxss";
/**index.wxss**/
page {
background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);
background-color: #4481eb;
background-repeat: no-repeat;
}
input[type="button"],
input[type="submit"],
input[type="reset"] {
-webkit-appearance: none;
}
textarea {
-webkit-appearance: none;
}
button[disabled] {
color: #ddd !important;
background: #bbb !important;
border-color: #bbb !important;
}
/**app.wxss**/
.flex {
display: flex;
}
/** 金属按钮 **/
.btn-metal {
text-align: center;
cursor: pointer;
width: 100%;
height: 100%;
position: absolute;
padding: 0;
overflow: initial;
}
.btn-metal-hover{
background-color: rgba(85,85,85,.2);
}
.btn-metal .iconfont{
display: block;
height: 100%;
}
.btn-metal .btn-name{
font-size: 14px;
margin-top: 10rpx;
display: block;
}
.btn-metal::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
left: 0;
top: 0;
border-radius: 50%;
box-shadow: 0 4px 4px -1px #3a3d4b, 0 -2px 4px -1px #f5f4fd;
background: conic-gradient(rgba(213, 216, 225, 0.45),
rgba(102, 108, 128, 0.45) 36deg,
rgba(230, 231, 235, 0.45) 75deg,
rgba(128, 128, 128, 0.45) 105deg,
rgba(197, 199, 211, 0.45) 135deg,
rgba(137, 140, 155, 0.45) 170deg,
rgba(215, 222, 232, 0.45),
rgba(120, 125, 144, 0.45) 230deg,
rgba(198, 201, 210, 0.45) 280deg,
rgba(146, 150, 163, 0.45) 310deg,
rgba(213, 216, 225, 0.45)) #cecfd6;
background-image: url('http://pzpcdedsx.bkt.clouddn.com/bg.jpg');
background-position: center;
background-size: contain;
}
.txt-center {
text-align: center;
}
.fs12 {
font-size: 24rpx;
}
.mb5 {
margin-bottom: 10rpx;
}
.mb10 {
margin-bottom: 20rpx;
}
.btn-small{
font-size: 28rpx;
}
.txt-right{
text-align: right;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/redstoone/carBLE.git
git@gitee.com:redstoone/carBLE.git
redstoone
carBLE
carBLE
master

搜索帮助