1 Star 0 Fork 1

张宇 / 网页抽奖程序

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test.css 2.59 KB
一键复制 编辑 原始数据 按行查看 历史
张宇 提交于 2023-08-24 04:06 . 第二次修改
body {
background: #37474f;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
margin: 0;
overflow: hidden;
background-image: url("./background.png");
background-position: center;
background-size: 100% 100%;
}
#navbarContainer{
width: 400px;
min-width: 400px;
height: 70vh;
background-color: #ffcc80;
border-radius: 20px;
display: flex;
justify-content: flex-end;
flex-direction: column;
overflow: hidden;
position: relative;
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
opacity: 0.9;
}
#navbar{
width: 100%;
height: 60px;
background-color: #fff;
position: absolute;
opacity: 1;
}
#bubbleWrapper{
position: absolute;
display: flex;
justify-content: space-around;
width: 100%;
bottom: 25px;
}
.bubble{
background-color: #fff;
width: 50px;
height: 50px;
bottom: 85px;
border-radius: 50%;
z-index: 1;
transform: translateY(120%);
display: flex;
justify-content: center;
align-items: center;
}
.icon{
opacity: 0;
}
#bubble1{
transform: translateY(0%);
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
> span{
opacity: 0.7;
}
}
#bgWrapper{
filter: url(#goo);
width: 100%;
height: 100px;
position: absolute;
bottom: 60px;
}
#bg{
background-color: #ffcc80;
width: 120%;
height: 100%;
margin-left: -10%;
}
#bgBubble{
position: absolute;
background-color: #ffcc80;
width: 70px;
height: 70px;
border-radius: 50%;
bottom: -50px;
left: 50px;
transform: translateX(-50%);
}
#menuWrapper{
position: absolute;
width: 100%;
display: flex;
justify-content: space-around;
}
.menuElement{
opacity: 0.8;
transform: translateY(100%);
cursor: pointer;
&:hover{
opacity: 1;
}
}
#contentWrapper{
position: absolute;
top: 50%;
width: 100%;
transform: translateY(-50%);
display: flex;
justify-content: center;
align-items: center;
h2{
color: #fff;
font-family: sans-serif;
font-weight: 400;
}
}
.content{
display: none;
opacity: 0;
}
div.tab{
position: relative;
top:0%;
left:0%;
z-index: 999;
width: 100%;
height: 100%;
margin-top: 2em;
margin-bottom: 10em;
}
1
https://gitee.com/zhang-yuabcdef/website-lottery-program.git
git@gitee.com:zhang-yuabcdef/website-lottery-program.git
zhang-yuabcdef
website-lottery-program
网页抽奖程序
master

搜索帮助