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

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定

出錯,求解


body{

font-family: Georgia,serif;

background: #ddd;

font-weight: 400;

font-size: 15px;

color: #333;

-webkit-font-smoothing:antialiased;


}

a{

text-decoration: none;

color:#555;

}

<!-- 鏈接樣式-->

.clr{

width: 0;

height:0;

overflow: hidden;

clear: both;

padding :0;

margin: 0;

}

.st-container{

width:100%;

height: 100%;

position: :absolute;

left: 0;

top :0;

font-family: "Josefin Slab","Myriad Pro",Arial,sans-serif;

}

.st-container > input,

.st-container > a{

width: 20%;

height: :34px;

line-height: 34px;

position: fixed;

bottom:0;

}

.st-container > input{

<!--- display: :none;position: absolute;left :-99999px;visibility: hidden;opacity: 0

都可以把元素影藏掉,

display: :none;影藏不占位,不在這個地方。position: absolute;在這個地方。left :-99999px;不


存在--->

opacity: 0.8 ;

z-index:1000;


}

.st-container > a{

z-index: 10;

font-weight: 700;

font-size: 16px;

background: #e23a6e;

text-align: center;

color: #fff;

box-shadow: 1px 1px 1px rgba(151,24,64,0.2);

}

#st-control-1,#st-control-1 + a{

? ? left: 0%;


}

#st-control-2,#st-control-2 + a {

left: 20%;

}

#st-control-3,#st-control-3 + a {

left: 40%;

}

#st-control-4,#st-control-4 + a {

left: 60%;

}

#st-control-5,#st-control-5 + a {

left: 80%;

}

.st-container input:checked ?+ a?

.st-container input:checked:hover + a {

background:#821134;?

}


}

<!--三角形-->

.st-container input:checked + a:after{

content: "";

width: 0;

height: 0;

overflow: hidden;

border: 20px solid transparent;

border-bottom-color: #821134;

position: absolute;

bottom: 100%;

left:50%;

margin-left: -20px;

}

.st-container input:hover + a {

background:#AD244F;?

}

http://img1.sycdn.imooc.com//596ca3ef0001528d13630684.jpg


正在回答

1 回答

老兄,麻煩下次說一下出現(xiàn)的問題是什么?不然我還得自己推理。

首先第一個問題:css代碼注釋要用/*注釋*/,<!--注釋-->是html注釋。有兩處。

第二,有好幾處語法錯誤,比如英文的冒號寫成中文的冒號,多了一個花括號太粗心了。有兩處。

更正完以上兩個錯誤,就沒問題了。

祝你前端學(xué)習(xí)愉快!

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

cym01494 提問者

非常感謝。
2017-07-30 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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