Notice
Recent Posts
Recent Comments
Link
250x250
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- migration
- spring
- git
- eslint
- REACT
- JavaScript
- spring cloud
- npm
- REACTJS
- Effective Java 3/e
- current_date
- Effective Java
- nodejs
- upgrade
- Regular expression
- expire_logs_days
- regex
- MySQL
- mysql 5.5
- Spring Batch
- Chunk
- Webpack
- 퀵소트
- java
- log4j2
- Node
- Express
- 정규표현식
- log_bin
- update
Archives
- Today
- Total
내 세상
[React] CSS Button 테두리 효과 넣기 본문
728x90
.GaniButton.on {
background: linear-gradient(to right, #38bdf8, #7dd3fc, #60a5fa);
color: #fff;
}
.GaniButton.on::before {
content:""; // 입력필수
position: absolute;
top:-4px;left:-4px;right:-4px;bottom:-4px;
background: red;
background-size: 600% 600%;
animation: ganiBorder 6s linear infinite;
}
.GaniButton.on::after {
content:"";
position: absolute;
top:2px;left:2px;right:2px;bottom:2px;
z-index:-1;
border-radius: 6px;
background: blue;
}
@keyframes ganiBorder {
0% {background-position: 0% 50%;}
50% {background-position: 100% 50%;}
100% {background-position: 0% 50%;}
}728x90
'Technical > React' 카테고리의 다른 글
| [React] React-leaflet rectangle gradient 적용 방법 (0) | 2025.01.09 |
|---|---|
| [React] React-Select 메뉴 클릭 시, 드롭다운 메뉴 뒤 클릭 이슈 (0) | 2025.01.07 |
| [webpack] webpack-dev-server config 설정 (esbuild-loader, babel-loader) (0) | 2024.12.06 |
| [React] node-sass error (0) | 2023.01.04 |
| [React] MUI ClickAwayListener (0) | 2022.12.23 |