vue卡片折叠效果

代码语言:html

所属分类:布局界面

代码描述:vue卡片折叠效果

代码标签: 效果

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


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/all.min.css">
<style>
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
body {
  background: #e3e3e3;
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#app {
  filter: drop-shadow(0px 10px 5px rgba(0, 0, 0, 0.1));
}

.card {
  background: white;
  width: 350px;
  -webkit-clip-path: inset(0 0 130px 0);
  clip-path: inset(0 0 130px 0);
  transition: 0.5s all ease;
  transform: translateY(0);
}

.card.........完整代码请登录后点击上方下载按钮下载查看

网友评论0