CSS 질문 드립니다.
본문
전체 CSS가 적용이 된 상태에서,
부분적으로만 폰트에 컬러를 주려면 어떻게 하는것이 좋을까요?
답변 4
적용할 부분에 따로 class를 주고
클래스에 폰트컬러를 주면 안되는건가요 ?
에이치님, 그렇게는 안되네요 ^^;;;
링크색상은 변경되지 않고, 마우스를 올렸을때만 바뀌네요..
.other_color a:hover, a:focus, a:active, a:link, a:visited {
color:#0FF;
}
.other_color a:hover,.other_color a:focus,.other_color a:active,.other_color a:link,.other_color a:visited {
color:#0FF;
}
이렇게 해보세요
class 넣기 까다로운 경우라면
style="color:#fff !important;"
이방법도 좋아요~~
답변을 작성하시기 전에 로그인 해주세요.