답변 1개 / 댓글 1개
채택된 답변
+20 포인트
네. 사용할 수 있습니다.
Copy
<style>
button:disabled {
background-color: #ddd;
color: #000;
cursor: not-allowed;
}
/* 호버 시 강제 스타일 */
button:disabled:hover {
background-color: #fff100 !important;
color: #000;
}
</style>
<button disabled>비활성 버튼</button>
답변을 작성하려면 로그인이 필요합니다.