반응형
좀 더 다양한 용도로 활용할 수 있는 버튼 2가지 스타일
✅ 1. 테두리만 있는 투명 버튼 (outline-button)
👉 배경은 투명하고, 보라색 테두리 + 글자만 강조. 깔끔하고 고급스럽게!
a.outline-button {
display: inline-block;
padding: 14px 30px;
font-size: 15px;
margin: 20px auto;
border: 2px solid #a148ff;
background: transparent;
color: #a148ff !important;
border-radius: 10px;
text-align: center;
box-shadow: none;
}
a.outline-button:hover {
background: #a148ff;
color: #fff !important;
box-shadow: 0 0 10px rgba(161, 72, 255, 0.6);
}
display: inline-block;
padding: 14px 30px;
font-size: 15px;
margin: 20px auto;
border: 2px solid #a148ff;
background: transparent;
color: #a148ff !important;
border-radius: 10px;
text-align: center;
box-shadow: none;
}
a.outline-button:hover {
background: #a148ff;
color: #fff !important;
box-shadow: 0 0 10px rgba(161, 72, 255, 0.6);
}
✨ 사용 예시 (HTML)
<a href="https://www.spotvnow.co.kr/player?type=vod&id=221194"
class="button-base outline-button"
target="_blank" rel="noopener">
🌟 미리보기
<span></span><span></span><span></span><span></span>
</a>
class="button-base outline-button"
target="_blank" rel="noopener">
🌟 미리보기
<span></span><span></span><span></span><span></span>
</a>
✅ 2. 아이콘만 있는 원형 버튼 (circle-button)
👉 인스타, 유튜브 링크용으로 딱! 글자 없이 아이콘만 넣는 스타일.
a.circle-button {
display: inline-flex;
justify-content: center;
align-items: center;
width: 60px;
height: 60px;
background: radial-gradient(circle, #8e2de2, #4a00e0);
border-radius: 50%;
font-size: 22px;
color: #fff !important;
box-shadow: 0 0 15px rgba(130, 60, 255, 0.5);
margin: 10px;
text-decoration: none;
}
a.circle-button:hover {
transform: scale(1.1);
background: radial-gradient(circle, #a748fc, #5f00e0);
}
display: inline-flex;
justify-content: center;
align-items: center;
width: 60px;
height: 60px;
background: radial-gradient(circle, #8e2de2, #4a00e0);
border-radius: 50%;
font-size: 22px;
color: #fff !important;
box-shadow: 0 0 15px rgba(130, 60, 255, 0.5);
margin: 10px;
text-decoration: none;
}
a.circle-button:hover {
transform: scale(1.1);
background: radial-gradient(circle, #a748fc, #5f00e0);
}
✨ 사용 예시 (HTML)
<a href="https://www.instagram.com/your_id"
class="circle-button"
target="_blank" rel="noopener">📷</a>
<a href="https://www.youtube.com/channel/your_id"
class="circle-button"
target="_blank" rel="noopener">▶️</a>
✅ 전체 클래스 요약표
스타일명클래스 조합설명
full-button | button-base full-button | 본문 전체 폭 |
fixed-button | button-base fixed-button | 고정 폭, 중앙 정렬 |
mini-button | button-base mini-button | 작고 가벼운 강조용 |
outline-button | button-base outline-button | 배경 없이 테두리만 강조 |
circle-button | circle-button (단독 사용) | 아이콘 전용, 원형 버튼 |
반응형