啤酒杯装酒泡沫动画

代码语言:html

所属分类:动画

代码描述:啤酒杯装酒泡沫动画

代码标签: 动画

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<style>
body{
  margin: 0;
  background-image: url("http://repo.bfw.wiki/bfwrepo/image/5e62f178e5096.png");
}
main{
  width: 100vw;
  height: 100vh;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  background-color: rgba(1, 1, 1, .2);
}
.chope{
  border: 15px solid rgba(255, 255, 255, .7);
  border-top: none;
  width: 150px;
  height: 180px;
  margin: auto;
  position: relative;
  border-bottom-left-radius: 30px; 
  border-bottom-right-radius: 30px; 
  display: inline-block;
  margin-right: -4px;
}
.chope::after{
  content: "";
  position: absolute;
  background-color: rgba(255, 255, 255, .5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  border-bottom-left-radius: 13px; 
  border-bottom-right-radius: 13px; 
}
.biere{
  background-color: #F9B804;
 .........完整代码请登录后点击上方下载按钮下载查看

网友评论0