css实现卡片纸张从文件夹中抽出动画效果代码
代码语言:html
所属分类:动画
代码描述:css实现卡片纸张从文件夹中抽出动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html>
<head>
<style>
@import 'https://fonts.googleapis.com/css?family=Roboto:100,300,400,700';
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Roboto", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
body {
background-color: #37354c;
}
body .mountains {
width: 100vw;
height: 100vh;
background-color: #37354c;
display: flex;
justify-content: center;
align-items: flex-end;
position: absolute;
}
body .mountains::before {
width: 100%;
height: 20em;
background-color: rgba(255, 255, 255, 0.06);
display: block;
position: absolute;
content: "";
-webkit-clip-path: polygon(26% 49%, 50% 76%, 63% 43%, 100% 57%, 100% 100%, 0 100%, 0 67%, 4% 60%, .........完整代码请登录后点击上方下载按钮下载查看
















网友评论0