css实现新冠疫苗注射的2021年效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现新冠疫苗注射的2021年效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/reset.min.css"> <style> *, *:after, *:before { box-sizing: border-box; } body { margin: 0; overflow: hidden; height: 100vh; display: grid; place-items: center; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .text-container { font-family: arial; font-size: 20vw; font-weight: 800; color: #0091EA; position: relative; } .zero { display: inline-block; position: relative; width: 14vw; height: 14vw; background: #0091EA; border-radius: 50%; border: 1px solid #0091EA; } .zero.covid-19 { background: #F9A825; border: 1px solid #FFA000; -webkit-animation: 10s covidEffect infinite; animation: 10s covidEffect infinite; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .zero.covid-19:before { content: ""; position: absolute; background: rgba(0, 0, 0, 0.45); width: 2vw; height: 2.5vw; left: 30%; top: 30%; border-radius: 50%; box-shadow: 4vw 0 rgba(0, 0, 0, 0.45); -webkit-animation: 10s eyeMove infinite; animation: 10s eyeMove infinite; } .zero.covid-19:after { content: ""; position: absolute; width: 5vw; height: 3vw; border-radius: 0 0 5vw 5vw; top: 57%; left: 34%; background: rgba(0, 0, 0, 0.45); -webkit-animation: 10s expChange infinite; animation: 10s expChange infinite; -webkit-animation-fill-m.........完整代码请登录后点击上方下载按钮下载查看
网友评论0