링크의 텍스트를 제거하고 CSS를 사용하여 이미지로 바꾸고 싶습니다.이미지 "button"으로 링크 전환
마크 업 :
<a id="notifications" href="#">Notifications</a>
CSS는 :
#notifications{
background: url('http://icons.iconarchive.com/icons/treetog/i/16/Floppy-Small-icon.png') no-repeat;
height: 16px;
width: 16px;
text-indent: -9999px;
overflow: hidden;
}
나는 모든 종류의 것을 시도했지만 텍스트를 제거하지 못하는 것 같습니다. 이 CSS로 할 수없는 일인가요?