a { color: blue; } .ja { text-align: center; font-size: 2em; } .ja:hover .char_cur { color: red; } .ja:hover .char_p1 { color: magenta; } .ja:hover .char_p2 { color: blue; } .ja:hover .char_bad { color: grey; }