이미 클릭 한 링크에 대해 글꼴 멋진 아이콘이 자주색으로 렌더링되는 문제가있는 것 같습니다. HTML을 설정하는 방법은 다음과 같습니다.
<div class="notxtdec">
<a href="https://www.facebook.com"><i class="fab fa-facebook-f"></i></a>
</div>
CSS :
.notxtdec {
text-align: center;
align-items: center;
font-size: 12px;
text-decoration: none; }
.notxtdec
링크가 아닌 div를 선택합니다. 하이퍼 링크의 텍스트 장식을 설정하려면 다음과 같이해야합니다. 앵커 태그를 대상으로합니다.
.notxtdec {
text-align: center;
align-items: center;
font-size: 12px;
}
.notxtdec a {
text-decoration: none;
}
text-decoration
대부분의 브라우저에서 자동으로 추가하는 밑줄 만 제거하므로 링크, 활성 또는 방문한 색상을 설정하려는 경우 해당 규칙도 추가해야합니다.
/* anchor tags which have a valid href attribute */
.notxtdec a:link {
color: #yourcolorhere
}
/* anchor tags which are being pressed/clicked */
.notxtdec a:active {
color: #yourcolorhere
}
/* anchor tags which have an href which exists in the browser's history */
.notxtdec a:visited {
color: #yourcolorhere
}
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다