Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
更新時にa:visitedの色を親の色に変更する必要があります。どうやってするの?
.foo:visited { color: #f00; } document.getElementById('yourID').className += ' foo';
これがお役に立てば幸いです