いくつかの FA アイコン a:visited の色をデフォルトの青から変更しようとしています。どういうわけか私に地獄の時間を与えてくれます。私が望むのは、アクセス後にリンクの色を青から変更することだけです。次のコードは次のとおりです。
HTML:
<div class="pull-right" id="socialMediaIcons">
<a target="_blank" href="https://www.facebook.com/"><i class="fa fa-facebook-official fa-3x"></i></a>
</div>
CSS:
#socialMediaIcons .fa a:link, #socialMediaIcons .fa a:visited {
color: #ccc;
}
#socialMediaIcons .fa:hover, #socialMediaIcons .fa:focus {
color: #ccc;
border: none;
}
#socialMediaIcons .fa {
padding-left: 10px;
position: relative;
bottom: 25px;
}
部分以外は全て効果ありそう#socialMediaIcons .fa a:link, #socialMediaIcons .fa a:visited
です。訪問したリンクの色を変更したいだけです。