Commit 0e521361 authored by 汪波's avatar 汪波

领红包活动CSS

parent c259ddb7
......@@ -1021,6 +1021,117 @@
vertical-align: top;
}
/*邀请领红包*/
.enter-img a {
display: inline-block;
width: 100%;
text-align: center;
}
.enter-img img {
width: 90%;
}
.red-packet {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(0,0,0,.5);
z-index: 10;
}
.red-packet .info {
position: absolute;
left: 50%;
margin-left: -150px;
top: 50%;
width: 300px;
transform:translateY(-50%);
}
.red-packet .info img {
width: 100%;
}
.red-packet .info .text {
position: absolute;
top: 0;
left: 0;
width: 100%;
text-align: center;
color: #fff;
}
.red-packet .info .text h3 {
height: 140px;
line-height: 145px;
}
.red-packet .info .text p {
font-size: 48px;
font-family: arial, sans-serif;
padding: 0 0 20px;
}
.red-packet .info .text b {
font-weight: normal;
font-size: 14px;
font-family: "Helvetica Neue", Helvetica, "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
}
.red-packet .info .text button {
position: relative;
width: 80px;
height: 80px;
display: inline-block;
border: 0;
margin-left: 7px;
outline: none;
border-radius: 100%;
background-color: #fff259;
color: red;
font-size: 24px;
box-shadow: 0 0 1px 0 rgba(0,0,0,0.3), 0 0 30px 2px rgba(0,0,0,0.15);
}
.red-packet .info .text button:after {
content: '';
position: absolute;
top: 5px;
left: 5px;
width: 70px;
height: 70px;
border-radius: 100%;
border: 2px dotted rgba(0,0,0,.2);
box-sizing: border-box;
}
.red-packet .info .text button span {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 50px;
line-height: 40px;
display: inline-block;
text-align: center;
color: #ec2661;
font-weight: bold;
font-size: 16px;
}
.my-redpacket {
display: block;
margin-top: 10px;
color: #fff;
font-size: 14px;
}
.red-packet .info .close {
position: absolute;
left: 50%;
margin-left: -25px;
text-align: center;
display: inline-block;
width: 40px;
height: 40px;
line-height: 36px;
border: 1px solid #fff;
border-radius: 100%;
font-size: 24px;
color: #fff;
}
/*适配电脑端*/
@media screen and (min-width: 900px){
html {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment