css3動(dòng)畫 - css3 traget切換問題
問題描述
css3怎么讓chrome的相關(guān)說明 默認(rèn)是顯示的然后切換哪個(gè)就顯示哪個(gè),我把chrome的相關(guān)說明設(shè)為了display:bloack,可是切換的時(shí)候不知道怎么把他去掉。<article class='indexCouresPage'> <section><header> <a href='http://www.lshqa.cn/wenda/6106.html#chrome'>Chrome</a> <a href='http://www.lshqa.cn/wenda/6106.html#firefox'>Firefox</a> <a href='http://www.lshqa.cn/wenda/6106.html#opera'>Opera</a> <a href='http://www.lshqa.cn/wenda/6106.html#safari'>Safari</a> <a href='http://www.lshqa.cn/wenda/6106.html#ie'>IE</a></header><article> <aside id='chrome'>Chrome的相關(guān)說明</aside> <aside id='firefox'>Firefox的相關(guān)說明</aside> <aside id='opera'>Opera的相關(guān)說明</aside> <aside id='safari'>Safari的相關(guān)說明</aside> <aside id='ie'>IE的相關(guān)說明</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實(shí)現(xiàn)選項(xiàng)卡切換
相關(guān)文章:
1. mysql replace 死鎖2. mysql - 把一個(gè)表中的數(shù)據(jù)count更新到另一個(gè)表里?3. mysql - 字符串根據(jù)字典替換4. mysql - 如何減少使用或者不用LEFT JOIN查詢?5. 視頻文件不能播放,怎么辦?6. javascript - 微信網(wǎng)頁開發(fā)從菜單進(jìn)入頁面后,按返回鍵沒有關(guān)閉瀏覽器而是刷新當(dāng)前頁面,求解決?7. node.js - nodejs開發(fā)中常用的連接mysql的庫8. mysql - 分庫分表、分區(qū)、讀寫分離 這些都是用在什么場(chǎng)景下 ,會(huì)帶來哪些效率或者其他方面的好處9. 網(wǎng)頁爬蟲 - python 爬取網(wǎng)站 并解析非json內(nèi)容10. 老師您的微信號(hào)是多少?
