빨간 버튼 위아래 2개
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body{
margin:0;
min-height:2000px;
font-family:"Malgun Gothic",sans-serif;
}
/* ===== 버튼 위치 ===== */
.floating-buttons{
position:fixed;
right:20px;
top:65%;
transform:translateY(-50%);
display:flex;
flex-direction:column;
gap:18px;
z-index:999999;
}
/* ===== 버튼 ===== */
.neon-btn{
display:inline-flex;
justify-content:center;
align-items:center;
min-width:95px;
height:50px;
padding:0 22px;
position:relative;
overflow:hidden;
white-space:nowrap;
box-sizing:border-box;
text-decoration:none;
font-size:20px;
font-weight:700;
color:#FFD700;
border-radius:14px;
border:3px solid #FFD700;
background:linear-gradient(
180deg,
#ff4a30 0%,
#ff2000 45%,
#d00000 100%
);
animation:aurora 3.5s ease-in-out infinite;
transition:
transform .25s,
box-shadow .25s;
}
/* ===== 유리창 빛 ===== */
.neon-btn::after{
content:"";
position:absolute;
top:0;
left:-130%;
width:35%;
height:100%;
transform:skewX(-25deg);
background:linear-gradient(
90deg,
rgba(255,255,255,0),
rgba(255,255,255,.95),
rgba(255,255,255,0)
);
animation:shine 4s linear infinite;
}
/* ===== 네온 효과 ===== */
@keyframes aurora{
0%{
box-shadow:
0 0 5px #ffcc00,
0 0 10px rgba(255,204,0,.6),
0 0 18px rgba(255,204,0,.3);
}
50%{
box-shadow:
0 0 10px #fff799,
0 0 18px #FFD700,
0 0 35px rgba(255,215,0,.8);
}
100%{
box-shadow:
0 0 5px #ffcc00,
0 0 10px rgba(255,204,0,.6),
0 0 18px rgba(255,204,0,.3);
}
}
/* ===== 빛이 지나가는 효과 ===== */
@keyframes shine{
0%{
left:-130%;
}
20%{
left:140%;
}
100%{
left:140%;
}
}
/* ===== 마우스 효과 ===== */
.neon-btn:hover{
transform:translateY(-2px) scale(1.04);
box-shadow:
0 0 12px #fff799,
0 0 25px #FFD700,
0 0 45px rgba(255,215,0,.95);
}
</style>
</head>
<body>
<div class="floating-buttons">
<!-- ===========================
▼ 링크 주소 변경하는 곳 ▼
href="https://여기에-링크-입력"
=========================== -->
<a href="https://여기에-링크-입력"
target="_blank"
class="neon-btn">
<!-- ===========================
▼ 버튼 글자 변경하는 곳 ▼
=========================== -->
버튼1
</a>
<!-- ===========================
▼ 링크 주소 변경하는 곳 ▼
href="https://여기에-링크-입력"
=========================== -->
<a href="https://여기에-링크-입력"
target="_blank"
class="neon-btn">
<!-- ===========================
▼ 버튼 글자 변경하는 곳 ▼
=========================== -->
버튼2
</a>
</div>
</body>
</html>