a:link {color:#ffoooo;color:red;text-decoration:none;}
a:visited {color:#00ff00;color:red;text-decoration:underline;}
a:hover {color:#ff00ff;}
a:active {color:#0000ff;}
※ link,visited,hover,active 순서가 바뀌면 동작이 제대로 실행되지 않는다
'CSS3 강의 > 웹학교' 카테고리의 다른 글
CSS 10.Tables (css로 표를 꾸미는 방법) (0) | 2014.09.02 |
---|---|
CSS 9. Lists (ul, ol 등 목록의 아이템 마커를 다루는 방법) (0) | 2014.09.02 |
CSS 7. Fonts (폰트의 종류 및 크기 등을 지정하는 방법) (0) | 2014.09.02 |
CSS 6. Text (css로 text를 꾸미는 방법) (0) | 2014.08.31 |
CSS 5. Backgrounds (색과 이미지를 배경으로 처리하는 방법) (0) | 2014.08.31 |