gsap实现几何图形动画效果展示代码

代码语言:html

所属分类:动画

代码描述:gsap实现几何图形动画效果展示代码

代码标签: gsap 几何 图形 动画 展示 代码

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

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  
  
<style>
:root {
  --bg: #0f0f10;
  --white: #e9e9ea;
  --grid: rgba(255, 255, 255, 0.35);
  --green: #7cffc4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.frame {
  width: min(980px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.stage {
  padding: 44px;
  position: relative;
  min-height: 420px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.stage:nth-child(2n) {
  border-right: 0;
}

.stage:nth-last-child(-n+2) {
  border-bottom: 0;
}

.placeholder {
  opacity: 0.1;
}

.label {
  display: grid;
  grid-template-columns: 20px 1fr;
  -moz-column-gap: 16px;
 .........完整代码请登录后点击上方下载按钮下载查看

网友评论0