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

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

為何沒法正常顯示

@mixin toolbar-item($pos,$hoverPos){

background-position:0 $pos;

&:hover{

background-position:0 $hoverPos;

}

}



$toolbar-size:52px;

.toolbar-item,.toolbar-layer{

background-image:url(../img/toolbar.png);

background-repeat:no-repeat;

}

.toolbar{

position:fixed;

left:50px;

bottom:5px;

margin-left:-$toolbar-size / 2;

}

.toolbar-item{

position:relative;

display:block;

width:$toolbar-size;

height:$toolbar-size;


margin-top:1px;

transition:background-position 1s;

&:hover{

.toolbar-layer{

opacity:1;

filter:alpha(opacity=100);

transform:scale(1);

}

}

}

.toolbar-item-weixin{

@include toolbar-item(-798px,-860px);

.toolbar-layer{

height:212px;

background-position:0 0;

}

}

.toolbar-item-feedback{

@include toolbar-item(-426px,-488px);

}

.toolbar-item-app{

@include toolbar-item(-550px,-612px);

.toolbar-layer{

height:194px;

background-position:0 -222px;

}

}

.toolbar-item-top{


@include toolbar-item(-674px,-736px);

}

.toolbar-layer{

position:absolute;

right:$toolbar-size - 6;

bottom:-10;

width:172px;


opacity:0;

filter:alpha(opacity=0);

transform-origin:95% 95%;

transform:scale(0.01);

transition:all 1s;

}

<!doctype html>

<html>

<head>

<meta charset="utf-8" />

<title>側(cè)欄工具</title>

<link rel="stylesheet" href="css/index.css" ?/>

</head>

<body>


<div>

<a href="javascript:;" class="toolbar-item toolbar-itemp-weixin">

<span></span>

</a>

<a href="javascript:;" class="toolbar-item toolbar-itemp-feedback"></a>

<a href="javascript:;" class="toolbar-item toolbar-itemp-app">

<span></span>

</a>

<a href="javascript:;" class="toolbar-item toolbar-itemp-top"></a>

</div>




</body>

</html>

http://img1.sycdn.imooc.com//571630bb0001f6fc05810596.jpg

正在回答

2 回答

我之前也遇到了,是因?yàn)閕ndex.html中的類名寫錯(cuò)了一個(gè)單詞,但是后來的二維碼部分始終顯示不出來

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

從顯示上來說應(yīng)該是background-position的位置調(diào)整出現(xiàn)錯(cuò)誤,你可以先單獨(dú)設(shè)置看看先實(shí)現(xiàn)過,先不要用

@mixin toolbar-item($pos,$hoverPos){

background-position:0 $pos;

&:hover{

background-position:0 $hoverPos;

}

}

吧它封裝出來

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

舉報(bào)

0/150
提交
取消

為何沒法正常顯示

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

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

幫助反饋 APP下載

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

公眾號(hào)

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