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.
index.htmlページをロードすると、アクティブであることがわかり、それぞれのa:activecssがロードされるようにするにはどうすればよいですか?
a:active
それ:activeは意味ではありません。 リンクは:active、マウスで選択した場合です。
:active
class="Current"リンクに追加して、CSSでそのクラスを使用する必要があります。
class="Current"
と言う小さなJavascriptを使用できますwindow.onLoad(){ *javascript to load css file*}。
window.onLoad(){ *javascript to load css file*}