250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- iPhone
- CSS
- php
- 비전공자
- jQuery
- SWIFT
- css3
- hover
- Animation
- xcode
- iOS 개발자
- MAC
- HTML
- 풀스택
- effect
- react
- front-end
- 프론트엔드
- 비전공 개발자
- IOS
- 백엔드
- javascript
- button
- 자바스크립트
- ipad
- image
- 애니메이션
- keyframes
- html5
- 개발자
Archives
- Today
- Total
비전공자 개발일기
Switch Text Effect 본문
728x90
SMALL
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TEXT SWITCH EFFECT</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="word">You</div>
<div class="word">Are</div>
<div class="word">So</div>
<div class="word">Amazing....</div>
</div>
</body>
</html>
body {
background-color: #000;
}
.container {
width: 100%;
height: 80vh;
position: relative;
font-family: monospace;
color: #FFF;
font-size: 4em;
filter: contrast(15);
}
.word {
position: absolute;
top: 58%;
left: 96%;
transform: translate(-50%, -50%);
animation: switch 8s infinite ease-in-out;
min-width: 100%;
margin: auto;
}
.word:nth-child(1) {
animation-delay: -7s;
}
.word:nth-child(2) {
animation-delay: -5s;
}
.word:nth-child(3) {
animation-delay: -3s;
}
.word:nth-child(4) {
animation-delay: -1s;
}
@keyframes switch {
0%, 5%, 100% {
filter: blur(0);
opacity: 1;
}
50%, 80% {
filter: blur(100px);
opacity: 0;
}
}
728x90
LIST
'HTML _CSS' 카테고리의 다른 글
Dark Card Hover Effect (0) | 2022.06.25 |
---|---|
Animated Magic Menu Indicator (0) | 2022.06.24 |
Project Management Dashboard (0) | 2022.06.22 |
Sliding Card UI Design (0) | 2022.06.19 |
Scroll Animation (0) | 2022.06.17 |