css实现热气腾腾冒烟的咖啡效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现热气腾腾冒烟的咖啡效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.canvas{
position: relative;
display: flex;
justify-content: center;
align-items: center;
background-color: #e9be74;
width: 100%;
height: 100vh;
}
.coaster{
position: absolute;
width: 36vmin;
height: 3vmin;
background-color: #AE431E;
border-radius: 50%/100%;
bottom: 30%;
display: flex;
justify-content: center;
align-items: center;
box-shadow: black 2px 0.5;
}
.body-cup{.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0