css实现双色球开奖号码动画抽奖中奖数字效果代码
代码语言:html
所属分类:动画
代码描述:css实现双色球开奖号码动画抽奖中奖数字效果代码
代码标签: cs 双色球 开奖 号码 动画 抽奖 中奖 数字
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.3.3.4.css">
<style>
* {
box-sizing: border-box;
}
body {
padding-top: 15%;
height: 100vh;
background: linear-gradient(135deg, #333 10%, #000 100%);
}
.ball-wrap {
width: 150px;
height: 150px;
background: linear-gradient(to bottom, #000 0%, #11020A 100%);
border-radius: 50%;
padding: 10px;
margin: 10px auto;
display: block;
}
.ball-wrap .ball-balls {
border-radius: 50%;
width: 130px;
height: 130px;
background: #00193C;
position: relative;
overflow: hidden;
}
.ball-wrap .ball-balls *:before, .ball-wrap .ball-balls *:after, .ball-wrap .ball-balls .ball-light, .ball-wrap .ball-balls .ball-dark, .ball-wrap .ball-balls .ball-sm {
content: "";
position: absolute;
border-radius: 50%;
}
.ball-wrap .ball-balls .ball-sm {
width: 20px;
height: 8px;
background: rgba(255, 255, 255, 0.8);
z-index: 2;
transform: rotate(320deg);
top: 15%;
left: 15%;
}
.ball-wrap .ball-balls .ball-digital {
width: 100px;
position: relative;
margin: 0 auto;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
padding: 0;
text-align: center;
left: 0;
}
.ball-wrap .ball-balls .ball-digital li {
border-radius: 50%;
width: 100px;
height: 100px;
border: 3px solid #fff;
margin: 15px 0;
display: block;
padding: 7px;
}
.ball-wrap .ball-balls .ball-digital li span {
border-radius: 50%;
width: 80px;
height: 80px;
background: #fff;
font-size: 50px;
display: block;
font-weight: 800;
line-height: 80px;
}
.ball-wrap .ball-balls .ball-light {
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.ball-wrap .ball-balls .ball-light:before {
top: 0;
right: -10px;
width: 100%;
height: 100%;
background: radial-gradient(circle at 100% 0px, rgba(132, 254, 254, 0.6), rgba(132, 254, 254, 0) 58%);
filter: blur(5px);
}
.ball-wrap .ball-balls .ball-light:after {
top: 3px;
left: 3px;
width: 90%;
height: 90%;
background-image: linear-gradient(-180deg, rgba(44, 254, 219.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0