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
- keyframes
- 비전공 개발자
- xcode
- front-end
- ipad
- react
- IOS
- iOS 개발자
- javascript
- image
- 프론트엔드
- 애니메이션
- CSS
- css3
- hover
- php
- 비전공자
- jQuery
- 자바스크립트
- SWIFT
- 개발자
- button
- Animation
- html5
- MAC
- 풀스택
- HTML
- 백엔드
- effect
- iPhone
Archives
- Today
- Total
비전공자 개발일기
CSS Simple Animation 본문
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>CSS SIMPLE ANIMATION</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<ul>
<li class="btn-red">RED BUTTON</li>
<li class="btn-yellow">YELLOW BUTTON</li>
<li class="btn-green">GREEN BUTTON</li>
<li class="btn-blue">BLUE BUTTON</li>
</ul>
</body>
</html>
ul li {
font-size: 16px;
font-weight: 600;
display: block;
text-align: center;
cursor: pointer;
border-radius: 15px;
padding: 5px 0;
margin: 10px 0;
transition: all .5s ease-in;
}
.btn-red {
border: 2px solid #F0514E;
color: #F0514E;
}
.btn-red:hover {
box-shadow: #F0514E 100px 0 0 2px inset;
}
.btn-yellow {
border: 2px solid #F5E234;
color: #F5E234;
}
.btn-yellow:hover {
box-shadow: #F5E234 100px 0 0 2px inset;
}
.btn-green {
border: 2px solid #3AE541;
color: #3AE541;
}
.btn-green:hover {
box-shadow: #3AE541 100px 0 0 2px inset;
}
.btn-blue {
border: 2px solid #5635E2;
color: #5635E2;
}
.btn-blue:hover {
box-shadow: #5635E2 100px 0 0 2px inset;
}
728x90
LIST
'HTML _CSS' 카테고리의 다른 글
Heartbeat Loading Animation (0) | 2022.06.11 |
---|---|
Lamp On Off Animation (0) | 2022.06.09 |
GROWING LEON APPLE ICON (0) | 2022.06.06 |
To Do List by Pure CSS (0) | 2022.06.05 |
Add To Cart Animation (0) | 2022.06.03 |