You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.0 KiB

/* pages/function/function.wxss */
/* pages/function/function.wxss */
page{
width: 100%;
height: 100%;
}
.bg {
width: 100%;
height: 100vh;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
.bg image {
width: 100%;
height: 100%;
object-fit: cover;
}
.container {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
/* 把默认的padding: 200rpx 0;改掉 */
padding: 0 0;
position: relative;
}
.text {
display: flex;
flex-direction: column;
position: absolute;
top: 20rpx;
left: 40rpx;
}
.title {
/* 设置字体粗细 */
font-weight: bold;
padding: 10rpx 0;
font-size: 80rpx;
}
.menu {
width: 100%;
display: flex;
flex-direction: column;
position: absolute;
top: 300rpx;
}
.menu-item {
margin: 10rpx 0;
padding: 10rpx;
font-size: 65rpx;
/* transition: font-style 0.3s; */
background-color: transparent;
/* 相对定位 */
position: relative;
right: 210rpx;
}
.menu-item:hover {
font-style: italic;
}