第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

好好學(xué)習(xí)!

?<!DOCTYPE?html>?
?<html>?
?<head>??
?<meta?charset="UTF-8">??
?<meta?name="viewport"?content="width=device-width,?initial-scale=1.0">????
?<title>實(shí)踐題?-?選項(xiàng)卡</title>????
?<style?type="text/css">???????????
????body?{max-width:?600px;margin:?20px?auto;}???????
????.label-all?{?????width:?500px;?????height:?200px;?}?????
????ul{?????display:?table;?????margin-top:?0;?????}?????
????.nav?{?????height:?20%;?????
???????????????padding-left:?0;????????
???????????????margin-bottom:?0;?????????
???????????????width:?100%;??????????
???????}?????
????.nav?a{?????text-decoration:?none;?????}?????
????.nav?li{??????
????????????height:?20%;????
????????????border-top:?1px?solid?#D8D1D1;????
????????????border-left:?1px?solid?#D8D1D1;????
????????????border-right:?1px?solid?#D8D1D1;????
????????????border-bottom:?2px?solid?red;????
????????????/*table-cell去掉了前面的點(diǎn)以及把三個(gè)摞起來的li給整到一行*/????
????????????display:?table-cell;????
????????????text-align:?center;????
????????????vertical-align:?middle;????
????????????border-radius:?3px;
????????}??????????
????.col-md-4{?????width:20%;??}????????
????.nav-content-control{????????
???????????????height:?80%;????????
???????????????line-height:?40px;????????
???????????????border-right:?1px?solid?#837F7F;????????
???????????????border-left:?1px?solid?#837F7F;????????
???????????????border-bottom:?1px?solid?#837F7F;????????
????????????????border-radius:?5px;????????
??????????????????????}????????
????.nav-content?{????????
??????????????padding:?0px?75px;????????
??????????????height:?100%;????????????????
??????????????display:?none;????????
?????????????}????
</style>
<script?type="text/javascript">?????
????window.onload=function(){??????
????????document.getElementById("content-one").style.display="block";??????
????????document.getElementById('one').setAttribute('style','border-top:2px?solid?red;border-bottom:0');?????
????????}????
?????//?JS實(shí)現(xiàn)選項(xiàng)卡切換
?????function?active(obj)?{
?????????obj.setAttribute('style','background-color:#ddd;color:red;border-top:2px?solid?red;border-bottom:0;');
?????????
?????????for(const?e?of?['one','two','three']){
?????????????if(e==obj.id){
?????????????????document.getElementById('content-'+e).style.display='block';
??????????????}else?if(e!=obj.id)?{
????????????????????document.getElementById(e).removeAttribute('style');
????????????????????document.getElementById('content-'+e).style.display='none';
????????????????????}
?????????}
?????}
?</script>?
?</head>
?<body>
????<div?class="label-all">
????????<ul?class="nav">
????????<li?class="nav-title?col-md-4"?id="one"?onclick="active(this)"><a?href="javascript:void(0);">房產(chǎn)</a></li>
????????<li?class="nav-title?col-md-4"?id="two"?onclick="active(this)"><a?href="javascript:void(0);">家居</a></li>
????????<li?class="nav-title?col-md-4"?id="three"?onclick="active(this)"><a?href="javascript:void(0);">二手房</a></li>
??????</ul>
????????<div?class="nav-content-control">
????????????<div?class="nav-content"?id="content-one">????
????????????????275萬購昌平鄰鐵三居?總價(jià)20萬買一居????
????????????????200萬內(nèi)購五環(huán)三居?140萬安家東三環(huán)????
????????????????北京首現(xiàn)零首付樓盤?53萬購東5環(huán)50平????
????????????????京樓盤直降5000?中信府?公園樓王現(xiàn)房
????????????</div>
????????????<div?class="nav-content"?id="content-two">
????????????????40平出租屋大改造?美少女的混搭小窩?????
????????????????經(jīng)典清新簡歐愛家?90平老房煥發(fā)新生?????
????????????????新中式的酷色溫情?66平撞色活潑家居?????
????????????????瓷磚就像選好老婆?衛(wèi)生間煙道的設(shè)計(jì)
????????????</div>
????????????<div?class="nav-content"?id="content-three"?>?????
????????????????通州豪華3居260萬?二環(huán)稀缺2居250w甩?????
????????????????西3環(huán)通透2居290萬?130萬2居限量搶購?????
????????????????黃城根小學(xué)學(xué)區(qū)僅260萬?121平70萬拋!?????
????????????????獨(dú)家別墅280萬?蘇州橋2居優(yōu)惠價(jià)248萬
????????????</div>
????????</div>
???</div>
</body>
</html>


正在回答

1 回答

加油? ?基礎(chǔ)學(xué)完再學(xué)個(gè)框架? ?其他的東西都去了解了解

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

好好學(xué)習(xí)!

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)