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

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

審查元素時(shí),和設(shè)定的大小不一樣?。ɡ蠋煹木鸵粯樱槭裁囱?/h1>

為什么我也是按照老師的代碼做的,但是審查元素的時(shí)候,大小和自己設(shè)定大小不一樣,圖為其中一個(gè),其他的也大小不一樣http://img1.sycdn.imooc.com//5552e65000011e6410500974.jpg

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>無標(biāo)題文檔</title>

<style type="text/css">

*{padding: 0;margin:0;}/*所有元素padding和margin都設(shè)為0*/

body{

background-color:#fff;

color:#555;

font-family:'Avenir Next','Lantinghei SC';/*中文為蘭亭雅黑*/

font-size:14px;

-webkit-font-smoothing:antialisase;/*字體平滑*/

}


.wrap{

width:100%;

height:600px;

position:absolute; ?/*設(shè)置居中*/

top:50%; ? ? ? ? ? /*設(shè)置居中*/

margin-top:-300px;/*設(shè)置居中*/

background-color:#333;

overflow:hidden;/*超出div.wrap的照片就不顯示了*/

/*海報(bào)樣式*/\

}

.photo{

width:260px;

height:320px;

position:absolute;

z-index:1;

box-shadow:0 0 1px rgba(0,0,0,.01);/*因?yàn)槭请S機(jī)定位的,要用到left和top*/

}

.photo.side{

width:100%;/*正面和反面*/

height:100%;

background-color:#eee;

position:absolute;/*為了漂浮起來*/

top:0;

right:0;

box-sizing:border-box;/*內(nèi)容和padding都不會(huì)超過邊框*/

}

.photo.side-front{display:none;}/*正面*/

.photo.side-front.image{

width:100%;

height:250px;

line-height:250px;/*當(dāng)里面的圖片標(biāo)簽不足250px會(huì)垂直居中*/

overflow:hidden;/*超過部分會(huì)隱藏*/

}

.photo.side-front.image img{

width:100%;

}

.photo.side-front.caption{

text-align:center;

font-size:16px;

line-height:50px;}

.photo.side-back{}

.photo.side-back.desc{

color:#666;

font-size:14px;

line-height:1.5em;

? }

?.photo_center{

?left:50%;

?top:50%;/*設(shè)置水平居中*/

?margin:-160px 0 0 -130px;

?z-index:999;/*保證不會(huì)被遮擋*/

?}

</style>

</head>


<body onselectstart="return false;">

? ?<div class="wrap">

? ? ? <div class="photo">

? ? ? ? ? <div class="side side-front">

? ? ? ? ? ? ? <p class="image"><img src="test.jpg"/> </p>

? ? ? ? ? ? ? ?<p class="caption"> 麥兜</p>

? ? ? ? ? </div>

? ? ? ? ? <div class ="side side-back">

? ? ? ? ? ? ? <p class="desc">描述信息</p>

? ? ? ? ? </div>

? ? ? ? ? ? <div class="photo_center"></div>

? ? ?</div>

? ?</div>

</body>

</html>


正在回答

3 回答

你用的什么瀏覽器?可以換個(gè)瀏覽器試試看

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

你們這個(gè)是什么編寫軟件啊?

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

我的也是啊,,求解為什么吶??

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

舉報(bào)

0/150
提交
取消

審查元素時(shí),和設(shè)定的大小不一樣?。ɡ蠋煹木鸵粯樱槭裁囱?/h1> 我要回答 關(guān)注問題

微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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