css3動畫 - css3 traget切換問題
問題描述
css3怎么讓chrome的相關說明 默認是顯示的然后切換哪個就顯示哪個,我把chrome的相關說明設為了display:bloack,可是切換的時候不知道怎么把他去掉。<article class='indexCouresPage'> <section><header> <a href='http://www.aoyou183.cn/wenda/6106.html#chrome'>Chrome</a> <a href='http://www.aoyou183.cn/wenda/6106.html#firefox'>Firefox</a> <a href='http://www.aoyou183.cn/wenda/6106.html#opera'>Opera</a> <a href='http://www.aoyou183.cn/wenda/6106.html#safari'>Safari</a> <a href='http://www.aoyou183.cn/wenda/6106.html#ie'>IE</a></header><article> <aside id='chrome'>Chrome的相關說明</aside> <aside id='firefox'>Firefox的相關說明</aside> <aside id='opera'>Opera的相關說明</aside> <aside id='safari'>Safari的相關說明</aside> <aside id='ie'>IE的相關說明</aside></article> </section></article>#chrome:target,#firefox:target,#opera:target,#safari:target,#ie:target{ display:block;}.indexCouresPage article>aside{ display:none;}
問題解答
回答1:Trick:CSS3的:target實現選項卡切換
相關文章:
1. docker-machine添加一個已有的docker主機問題2. python - Pycharm的Debug用不了3. java如何高效讀寫10G以上大文件4. java - 新手求教,當前時間問題?5. apache - nginx 日志刪除后 重新建一個文件 就打不了日志了6. html - 用ajax提交表單后,返回驗證數據在頁面location.href跳轉到主頁,怎么傳遞session給主頁7. java - tomcat服務經常晚上會掛,求解?8. node.js - node express 中ajax post請求參數接收不到?9. 關于js 字符串 轉變成 對應變量10. java - 原生CGLib內部方法互相調用時可以代理,但基于CGLib的Spring AOP卻代理失效,為什么?
