HELP、MISC、および POLICIESがタグのない見出しである<ul>
<li>
リストがあります。他の要素は(通常のサイズは 14px)として効果があります。<a>
<li>
hover
font-size:16px
どうすればhover
見出しを削除できますか??
あなたが使用することができます
.footer_ul li.bold1:hover {
font-size:14px;
text-decoration:none;
}
見出しのホバーを削除するには
または代わりに使用.footer_ul li a:hover
できる.footer_ul li:hover
.footer_ul li a:hover {
text-decoration:underline;
font-size:16px;
}
I checked you fiddle it was good.
The only change you need to make is you have to add :hover class for a tag and not li tag
`
.footer_ul li a:hover {
text-decoration:underline;
font-size:16px;
}
`
:not()
セレクターを使用します。このように 1 つの変更が必要です。
.footer_ul li:hover:not(.bold1) {
text-decoration:underline;
font-size:16px;
}
この CSS を「.footer_ul li:hover」の後に追加します
.footer_ul li:hover:first-child {
text-decoration:none;
font-size:14px;
}