| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Tags
- #이미지
- jquery
- 해피CGI
- #웹솔루션
- #솔루션
- #홈페이지제작
- #쇼핑몰
- 해피씨지아이
- 게시판
- #홈페이지
- CGIMALL
- #cgimall
- 홈페이지
- CSS
- 웹솔루션
- #뉴스
- javascript
- #CSS
- happycgi
- #해피CGI
- 홈페이지제작
- #업종별
- 솔루션
- #jQuery
- #happycgi
- 이미지
- php
- #동영상
- 사이트제작
- #image
- Today
- Total
웹솔루션개발 26년 노하우! 해피CGI의 모든것
[해피CGI][cgimall] Holographic Glitch CSS only 본문
CSS 만 사용하여 홀로그래픽 디자인입니다.
카드가 앞뒤로 움직이는 모션이 있습니다.
자세한 내용은 데모를 참고해주시기 바랍니다.
HTML
<section>
<div>
<h1 class="glitch" data-text="CSS FUTURE">CSS FUTURE</h1>
<div class="card">
<h2>Holographic Interface</h2>
<p>
Pure CSS art combining glitch typography,
grain textures, floating holograms and 3D depth.
</p>
<a class="btn" href="#">EXPLORE</a>
</div>
</div>
</section>
|
CSS
|
* {
margin: 0;
box-sizing: border-box;
}
:root {
--bg: #020617;
--c1: #38bdf8;
--c2: #a855f7;
--c3: #22c55e;
--noise: rgba(255, 255, 255, 0.05);
}
body {
font-family: system-ui, sans-serif;
background: radial-gradient(circle at 20% 10%, #1e293b, transparent 60%),
radial-gradient(circle at 80% 90%, #020617, transparent 70%), var(--bg);
color: white;
overflow-x: hidden;
}
/* grain */
body::after {
content: "";
position: fixed;
inset: 0;
background: repeating-radial-gradient(
circle,
var(--noise) 0 1px,
transparent 1px 2px
);
mix-blend-mode: overlay;
pointer-events: none;
opacity: 0.35;
animation: grain 0.25s steps(2) infinite;
}
@keyframes grain {
to {
transform: translate(2px, -2px);
}
}
/* layout */
section {
min-height: 100vh;
display: grid;
place-items: center;
padding: 5rem 2rem;
perspective: 1000px;
}
/* glitch title */
.glitch {
position: relative;
font-size: clamp(3rem, 9vw, 6rem);
font-weight: 900;
letter-spacing: 0.08em;
margin-bottom: 4rem;
}
.glitch::before,
.glitch::after {
content: attr(data-text);
position: absolute;
inset: 0;
opacity: 0.8;
}
.glitch::before {
color: var(--c1);
transform: translate(3px, -2px);
mix-blend-mode: screen;
animation: glitch 2s infinite alternate;
}
.glitch::after {
color: var(--c2);
transform: translate(-3px, 2px);
mix-blend-mode: screen;
animation: glitch 1.5s infinite alternate-reverse;
}
@keyframes glitch {
0% {
clip-path: inset(0 0 70% 0);
}
25% {
clip-path: inset(20% 0 40% 0);
}
50% {
clip-path: inset(40% 0 20% 0);
}
75% {
clip-path: inset(10% 0 60% 0);
}
100% {
clip-path: inset(0 0 0 0);
}
}
/* holographic card */
.card {
width: min(420px, 90vw);
padding: 2.5rem;
border-radius: 28px;
background: linear-gradient(
120deg,
rgba(255, 255, 255, 0.08),
rgba(255, 255, 255, 0.02)
);
backdrop-filter: blur(16px);
box-shadow: 0 0 50px rgba(56, 189, 248, 0.35),
inset 0 0 35px rgba(255, 255, 255, 0.15);
transform-style: preserve-3d;
animation: float 6s ease-in-out infinite;
position: relative;
}
.card::before {
content: "";
position: absolute;
inset: -2px;
background: linear-gradient(
120deg,
transparent 20%,
var(--c1),
var(--c2),
var(--c3),
transparent 80%
);
filter: blur(25px);
opacity: 0.4;
z-index: -1;
animation: holo 4s linear infinite;
background-size: 400% 100%;
}
@keyframes holo {
to {
background-position: 400% 0;
}
}
@keyframes float {
0%,
100% {
transform: rotateX(12deg) rotateY(-10deg) translateY(0);
}
50% {
transform: rotateX(18deg) rotateY(12deg) translateY(-25px);
}
}
.card h2 {
font-size: 1.7rem;
margin-bottom: 1rem;
}
.card p {
line-height: 1.6;
opacity: 0.85;
}
/* holographic button */
.btn {
display: inline-block;
margin-top: 2rem;
padding: 0.9rem 1.8rem;
border-radius: 999px;
font-weight: 600;
letter-spacing: 0.08em;
color: white;
text-decoration: none;
background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
background-size: 300% 100%;
animation: holo 3s linear infinite;
box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
}
|
'웹프로그램밍 자료실 > 기타 자료' 카테고리의 다른 글
| [해피CGI][cgimall] Infinite Gallery Hall (0) | 2026.05.08 |
|---|---|
| [해피CGI][cgimall] 투명 아이콘 버튼 Glassmorphism Icon Buttons (0) | 2026.05.06 |
| [해피CGI][cgimall] Claude Code Opus 4.6의 성능이 실제로 저하되는지를 감지하는 사이트 (0) | 2026.04.27 |
| [해피CGI][cgimall] CSS 프레임 워크 - tailwindcss 4.2 (0) | 2026.04.24 |
| [해피CGI][cgimall] CodePen Home CSS Border Corner Shape: Scoop, Notch, Squre-Cut 박스 모서리 깍기 (0) | 2026.03.13 |
Comments

