1 2 3 4 5 6 7 8 9 10 11 12
- | | | ! - | | | !
/* マウスが乗った状態 */ a:hover { color: #215dc6; background-color: #CCDDEE; text-decoration: underline; /* 文字装飾:下線 */ } /* マウスが押されたとき */ a:active { color: #CFB354; background-color: #CCDDEE; text-decoration: underline; /* 文字装飾:下線 */ }