a 태그에 마우스 오버시 글자 색 변화


a 태그에 마우스 오버시 글자 색 변화

html5 + css 3 code <html> <head> <title> html + css3 code </title> <style> /* h1 태그의 마우스를 올릴 경우에 color 속성에 red 키워드 적용 */ a:hover { color: red; } /*h1 태그의 마우스로 클릭 했을 때 color 속성에 blue 키워드 적용 */ a:active { color: blue; } </style> </head> <body> <ul> <li><a href="#">user action selector</a></li> <li><a href="#">user action selector</a></li> <li><a href="#">user action selector</a></li> <li><a href="#">user action selector</a></li> <li><a href="#">user action selector</a></li> </ul> </body> </html> j...



원문링크 : a 태그에 마우스 오버시 글자 색 변화