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

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

正在回答

3 回答

<div class="add"></div>


.add{

? width:100px;

? height:100px;

? border:1px solid;

? color:#ccc;

? transition:color 0.25s;

? position:relative;

}

.add:before{

content:" ";

? ? ? display:block;

? width:60px;

? height:10px;

? border-color:#ccc;

? border-top:10px solid;

? position:absolute;

? top:50%;

? left:50%;

? margin: -5px 0 0 -30px ;

}

.add:after{

? content:" ";

? display:block;

? width:10px;

?height:60px;

? border-color:#ccc;

? border-left:10px solid;

? position:absolute;

? top:50%;

? left:50%;

? margin:-30px 0 0 -5px;

}

.add:hover{

? color:#f6c;

}


2 回復 有任何疑惑可以回復我~
#1

qq_刺猬先生_03549865 提問者

非常感謝!
2016-12-29 回復 有任何疑惑可以回復我~
#2

Levier007

請問方便注釋下代碼嗎 看不太懂 content:"" 代表啥?
2017-05-11 回復 有任何疑惑可以回復我~
#3

weixin_慕數(shù)據(jù)3255160

我覺得是空字符display成塊元素這樣好排版
2019-08-08 回復 有任何疑惑可以回復我~

<!DOCTYPE html>
<html lang="en">
<head>
?<meta charset="UTF-8">
?<title>Title</title>
?<style>
.add{
? ? ?display: block;
width:100px;
height:100px;
border:1px solid;
color:#ccc;
transition:color 0.25s;
position:relative;
}
? ?.add:before{
? ? ?content:" ";
width:60px;
border-top:10px solid;
position:absolute;
top:50%;
left:50%;
margin: -5px 0 0 -30px ;
}
? ?.add:after{
? ? ?content:" ";
height:60px;
border-left:10px solid;
position:absolute;
top:50%;
left:50%;
margin:-30px 0 0 -5px;
}
? ?.add:hover{
? ? ?color:#f6c;
}
?</style>
</head>
<body>
<a href="javascript:" class="add"></a>
</body>
</html>

1 回復 有任何疑惑可以回復我~
<!doctype?html>
<html>
<head>
????<meta?charset="UTF-8">
????<title>Document</title>
????<style?type="text/css">
????.add{
????????display:?block;
????????width:?100px;
????????height:?100px;
????????color:?#ccc;
????????border:1px?solid;
????????position:?relative;
????}
????.add:before{
????????content:?'';
????????width:?60px;
????????border-top:10px?solid;
????????position:?absolute;
????????top:45px;
????????left:?20px;
????}
????.add:after{
????????content:?'';
????????height:?60px;
????????border-left:10px?solid;
????????position:?absolute;
????????top:20px;
????????left:?45px;
????}
????.add:hover{
????????color:#06c;
????}
????</style>
</head>
<body>
????<a?href="javascript:;"></a>
</body>
</html>


2 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

那個加號怎么畫的啊

我要回答 關注問題
微信客服

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

幫助反饋 APP下載

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

公眾號

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