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

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

加上定位后,padding-left仍然有影響

一些值如left等,還是需要寫成-22px,才有作用。
另外,設(shè)置了div里面按鈕a的寬高后,里面的span為何也會繼承這寬高????
.line?.button{
	display:block;
	width:180px;
	height:50px;
	line-height:50px;
	color:#2DCB70;
	font-family:Arial,?Helvetica,?sans-serif;
	text-decoration:none;
	border:2px?solid?rgba(255,255,255,0.8);
	padding-left:20px;
	box-sizing:border-box;
	position:relative;
	margin:5px?auto;
	background:url(images/allow.png)?no-repeat?130px?center;
	transition:0.3s?ease-out;
	}
.line?.button:hover{
	background-position:140px?center;
	border:2px?solid?rgba(255,255,255,1);
	}
.button?.line{
	position:absolute;
	display:block;
	background:none;
	transition:0.3s?ease-out;
	}
.button:hover?.line{background:#FFF;}
.button?.line-left{
	width:0px;
	height:2px;
	top:-2px;
	left:-110%}
.button:hover?.line-left{
	width:100%;
	left:-22px;}

.button?.line-top{
	width:2px;
	height:0px;
	top:-110%;
	right:-22px;}
.button:hover?.line-top{
	height:100%;
	top:-2px;}

.button?.line-right{
	width:0px;
	height:2px;
	bottom:-2px;
	right:-110%;}
.button:hover?.line-right{
	width:100%;
	right:-22px;}

.button?.line-bottom{
	width:2px;
	height:0px;
	bottom:-110%;
	left:-22px;}
.button:hover?.line-bottom{
	height:100%;
	bottom:-2px;}


正在回答

0 回答

舉報

0/150
提交
取消
按鈕特效
  • 參與學(xué)習(xí)       51384    人
  • 解答問題       239    個

WEB前端開發(fā)必備能力,課程分為二個實例講解,讓你牢牢掌握

進(jìn)入課程

加上定位后,padding-left仍然有影響

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

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

幫助反饋 APP下載

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

公眾號

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