🚀 from error to study/Front-End

[CSS] button 태그를 a 태그처럼 바꾸기

천재강쥐 2022. 11. 3. 11:46

둘 다 버튼 태그인데 수정은 a 태그처럼 보임

<button class='comment_button'>수정</button>&nbsp;|&nbsp;<button>삭제</button>
.comment_button {
    color : white;
    background-color: transparent;
    text-decoration: none;
    border: none;

    cursor: pointer;
    }
}

 

저작자표시 비영리 변경금지 (새창열림)