gsap实现炫酷三维球形相册网页滚动炫酷交互首页ui代码

代码语言:html

所属分类:布局界面

代码描述:gsap实现炫酷三维球形相册网页滚动炫酷交互首页ui代码

代码标签: gsap 炫酷 三维 球形 相册 网页 滚动 炫酷 交互 首页 ui 代码

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

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

<head>
  <meta charset="UTF-8">

  
  
<style>
:root {
  --bg-dark: #0a0a0b;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;

  /* Clay-like variables */
  --clay-base: #18181b;
  --clay-highlight: rgba(255, 255, 255, 0.08);
  --clay-shadow: rgba(0, 0, 0, 0.9);
  --clay-inset-light: rgba(255, 255, 255, 0.04);
  --clay-inset-dark: rgba(0, 0, 0, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Clinical SaaS Grid Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.03em;
}

a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--text-muted);
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.9), transparent);
  backdrop-filter: blur(.........完整代码请登录后点击上方下载按钮下载查看

网友评论0