日本不卡不码高清免费观看,久久国产精品久久w女人spa,黄色aa久久,三上悠亚国产精品一区二区三区

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

css - 瀏覽器縮放分辨率為什么布局會(huì)變

瀏覽:250日期:2023-06-24 18:06:59

問題描述

html

<!DOCTYPE html><html lang='en'><head> <meta charset='UTF-8'> <title>BatMan</title> <link rel='stylesheet' href='http://m.b3g6.com/wenda/index.css'> <script src='http://m.b3g6.com/wenda/index.js'></script></head><body> <p class='container'><p class='face'> <p class='earleft ear'></p> <p class='earright ear'></p> <p class='facecicle1'></p> <p class='circle1'></p> <p class='circle2'></p> <p class='eye'><p class='eye1'> <p class='eyeline eyelineleft'></p> <p class='eyeball eyeballleft'><p class='eyebg1'> <p class='ball'></p></p><p class='eyebgb'></p> </p></p><p class='eye2'> <p class='eyeline eyelineright'></p> <p class='eyeball eyeballright'><p class='eyebg2'> <p class='ball'></p></p><p class='eyebgb'></p> </p></p> </p> <p class='lowerface'><p class='mouth'></p> </p></p><p class='body'> <p class='hands'><p class='fist1'></p><p class='fist2'></p> </p> <p class='torso'><p class='torso-inside'></p><p class='belt'> <p class='beltline1'></p> <p class='beltline2'></p> <p class='belt1'></p> <p class='belt2'><p class='belt2-1'></p> </p> <p class='belt3'><p class='belt3-1'></p> </p> <p class='belt2'><p class='belt2-1'></p> </p> <p class='belt1'></p></p> </p></p> </p></body></html>

css

body { background: #373737;}.face { width: 200px; height: 220px; border-radius: 0px 0px 33px 33px; background: #212121; margin-top: 132px; margin-left: 60px; border: 10px solid #221715; position: relative; z-index: 2;}.face .facecicle1 { width: 180px; height: 180px; background: #2b2b2b; border-radius: 110px 120px 125px 120px; margin: 12px 0 0 20px;}.face .circle1 { width: 45px; height: 45px; border-radius: 45px; position: absolute; top: 30px; left: 85px; background: #414141;}.face .circle2 { width: 15px; height: 15px; border-radius: 15px; position: absolute; top: 90px; left: 135px; background: #414141;}.ear { width: 32px; height: 33px; border-radius: 33px 30px 0 0; border: 10px solid #221715; border-bottom: none; background: #212121;}.earleft { margin-top: -43px; margin-left: -10px;}.earright { margin-top: -43px; margin-left: 158px;}.eye { width: inherit; height: 40px; margin-top: 100px; position: absolute; top: 20px;}.eye .eye1 { width: 50%; height: auto; float: left; transform: rotate(20deg);}.eye .eye2 { width: 50%; height: auto; float: left; transform: rotate(-20deg);}.eye .eyeline { width: 65px; height: 10px; background: #221715; border-radius: 5px; float: left}.eye .eyeline.eyelineleft { margin-left: 15px;}.eye .eyeline.eyelineright { float: right; margin-right: 15px;}.eye .eyeball { width: 30px; height: 15px; border-radius: 0 0 30px 30px; border: 10px solid #221715; background: #fff; overflow: hidden; border-top: none; background: -webkit-linear-gradient(top, #221715 1px, #fff 1px);}.eye .eyeball.eyeballleft { margin-left: 21px;}.eye .eyeball.eyeballright { margin-left: 30px;}.eye .eyeball .ball { width: 6px; height: 6px; border-radius: 6px; margin-left: 13px; background: #221715;}.eye .eyeball .eyebg1 { background: grey;}.eye .eyeball .eyebg2 { background: grey;}.face .lowerface { width: 100%; height: 40px; background: #efb786; position: absolute; top: 170px; border-top: 10px solid #221715; border-radius: 0 0 33px 33px;}.face .lowerface .mouth { width: 80px; height: 7px; background: #221715; margin: 12px auto;}.face .lowerface .mouth:before { width: 20px; height: 7px; transform: rotate(-29deg); background: #221715; border-radius: 7px 0 0 7px; content: ''; position: absolute; margin-left: -17px; margin-top: 4px;}.face .lowerface .mouth:after { width: 20px; height: 7px; transform: rotate(29deg); background: #221715; border-radius: 0 7px 7px 0; content: ''; position: absolute; margin-left: 77px; margin-top: 4px;}.fist1 { width: 85px; height: 85px; border-radius: 85px; border: 10px solid #221715; margin: -40px 0 0 -50px; position: relative; z-index: 3; background: #212121; float: left; display: inline-block;}.fist1:before { content: ’’; width: 60px; height: 60px; background: #323232; position: absolute; margin: 10px 0 0 25px; border-radius: 60px;}.fist1:after { content: ’’; width: 30px; height: 30px; background: #484848; position: absolute; margin: 20px 0 0 50px; border-radius: 60px;}.fist2 { width: 85px; height: 85px; border-radius: 85px; border: 10px solid #221715; margin: -105px 0 0 145px; position: relative; z-index: 3; background: #212121; float: left}.fist2:before { content: ’’; width: 60px; height: 60px; background: #323232; position: absolute; margin: 10px 0 0 25px; border-radius: 60px;}.fist2:after { content: ’’; width: 30px; height: 30px; background: #484848; position: absolute; margin: 20px 0 0 50px; border-radius: 60px;}.body { width: 200px; height: 100px; border: 10px solid #221715; border-radius: 0 0 33px 33px; margin-left: 60px; background: #212121; border-top: none;}.torso { width: 120px; height: 130px; border: 10px solid #221715; border-radius: 0 0 40px 40px; margin-left: 30px; border-top: none; background: #323232; position: relative;}.torso .torso-inside { width: 90px; height: 125px; margin: 5px 0 0 20px; border-radius: 0 0 40px 40px; background: #484848;}.belt { position: absolute; top: 65px;}.belt1 { width: 6px; height: 20px; border: 5px solid #221715; border-radius: 6px; background: #b6b08c; float: left;}.belt2 { width: 15px; height: 20px; border: 5px solid #221715; border-radius: 15px; background: #b6b08c; float: left; margin-top: 2px;}.belt .belt2-1 { width: 11px; height: 4px; border-radius: 4px; background: #6e6544; margin: 3px 2px; position: relative;}.belt .belt2-1:before { content: ’’; position: absolute; width: 11px; height: 4px; border-radius: 4px; background: #6e6544; margin-top: 5px;}.belt .belt2-1:after { content: ’’; position: absolute; width: 11px; height: 4px; border-radius: 4px; background: #6e6544; margin-top: 10px;}.belt3 { width: 30px; height: 20px; border: 5px solid #221715; border-radius: 20px; background: #b6b08c; float: left; margin-top: 3px;}.belt .belt3-1 { width: 22px; height: 4px; border-radius: 4px; background: #6e6544; margin: 3px 4px;}.belt .belt3-1:before { content: ’’; position: absolute; width: 22px; height: 4px; border-radius: 4px; background: #6e6544; margin-top: 5px;}.belt .belt3-1:after { content: ’’; position: absolute; width: 22px; height: 4px; border-radius: 4px; background: #6e6544; margin-top: 10px;}.beltline1 { width: 50px; height: 7px; background: #221715; border-radius: 0 7px 7px 0; margin-bottom: 5px; float: left;}.beltline2 { width: 50px; height: 7px; background: #221715; border-radius: 7px 0 0 7px; margin-bottom: 5px; float: left; margin-left: 20px;}

效果

css - 瀏覽器縮放分辨率為什么布局會(huì)變縮放的話會(huì)這樣

css - 瀏覽器縮放分辨率為什么布局會(huì)變

請(qǐng)問這是為什么

問題解答

回答1:

寬度都是固定寫的幾px縮放了之后 那一行容納不下belt1這個(gè)元素了你可以把width這些寬度也是用相對(duì)的單位來進(jìn)行設(shè)置,而不是絕對(duì)的單位

把width寬度改了就可以適應(yīng)了:

.belt1 { width: 5px; height: 20px; border: 5px solid #221715; border-radius: 6px; background: #b6b08c; float: left;}回答2:

收縮在寬度計(jì)算上有時(shí)會(huì)產(chǎn)生差錯(cuò),比如現(xiàn)在這個(gè)頁(yè)面的header右側(cè)這部分

css - 瀏覽器縮放分辨率為什么布局會(huì)變

寬度是445px,縮放到一定比例時(shí)候之后

css - 瀏覽器縮放分辨率為什么布局會(huì)變

你看他變了!!!然后就擠到下面去了。

回答3:

可以用box-sizing:border-box 保持總寬高的情況下向內(nèi)延伸內(nèi)填充和邊框

標(biāo)簽: CSS
相關(guān)文章:
日本不卡不码高清免费观看,久久国产精品久久w女人spa,黄色aa久久,三上悠亚国产精品一区二区三区
欧美一区网站| 亚洲精品乱码久久久久久蜜桃麻豆| 午夜日韩福利| 特黄毛片在线观看| 国产精品久久久久蜜臀| 国产第一亚洲| 91中文字幕精品永久在线| 高清日韩欧美| 精品国模一区二区三区| 欧美日韩一区二区三区视频播放| 日韩中文字幕av电影| re久久精品视频| 亚洲欧美日韩一区在线观看| 自由日本语亚洲人高潮| 国产一区2区| 精品国产乱码久久久久久1区2匹| 麻豆精品视频在线观看免费| 国产精品激情| 蜜臀av一区二区三区| 亚洲在线久久| 国产精品theporn| 中文字幕人成乱码在线观看| 91精品啪在线观看国产18| 制服诱惑一区二区| 日韩高清一区| 一区二区精品伦理...| 98精品久久久久久久| av不卡在线| 欧美极品中文字幕| 五月天久久777| 午夜日韩福利| 麻豆理论在线观看| 视频在线观看一区二区三区| 国产精品毛片| 国产伦久视频在线观看| 一本一道久久a久久| 日韩在线观看| 久久国产免费看| 视频一区二区国产| 你懂的网址国产 欧美| 99精品一区| 国产亚洲高清在线观看| 狠狠色综合网| 免费观看亚洲| 国产精品成人国产| 亚洲精品一区二区在线播放∴| 亚洲激情社区| 天堂中文av在线资源库| 99久久亚洲精品蜜臀| 日韩在线观看一区| 欧美日韩亚洲一区在线观看| 日日夜夜免费精品视频| 中文日韩在线| 狠狠爱www人成狠狠爱综合网| 99国产精品私拍| 91精品国产91久久久久久黑人| 久久久国产精品入口麻豆| 日韩黄色在线观看| 男女男精品视频网| 99成人在线| 99日韩精品| 在线精品视频在线观看高清| 日韩精品首页| 91精品高清| 亚洲黄色影院| 在线精品观看| 欧美日本一区| 国产精品视频一区二区三区综合| 国产中文字幕一区二区三区| 国产精品大片| 日韩一区亚洲二区| 日韩精品水蜜桃| 国产精品88久久久久久| 欧美日韩一区二区三区在线电影| 捆绑调教美女网站视频一区| 色婷婷综合网| 福利一区和二区| 在线看片日韩| 成人小电影网站| 亚洲二区在线| 日韩中出av| 国产精品草草| 群体交乱之放荡娇妻一区二区| 一区二区国产精品| 日本aⅴ免费视频一区二区三区| 日韩成人亚洲| 午夜免费一区| 91综合久久爱com| a国产在线视频| 亚洲视频www| 精品国产午夜| 免费视频国产一区| 日本不卡一区二区三区| 久久精品五月| 视频一区中文字幕| 国内在线观看一区二区三区| 欧美午夜不卡| 日韩欧美午夜| 91国内精品| 欧美日韩黑人| 精品无人区麻豆乱码久久久| 日韩一区电影| 国产福利一区二区精品秒拍| 激情五月综合网| 精品国产欧美日韩| 久久69成人| 麻豆久久精品| 99精品视频在线| 激情综合网五月| 国产美女久久| 青青草精品视频| 日本少妇一区二区| 在线 亚洲欧美在线综合一区| 91精品91| 五月激情久久| 日韩精品欧美| 国产成人精品一区二区免费看京| 日韩av在线播放网址| 啪啪亚洲精品| 少妇高潮一区二区三区99| 久久成人亚洲| 久久亚洲电影| 首页亚洲欧美制服丝腿| 亚洲精品日本| 亚洲综合国产| 91成人网在线观看| 精品欧美激情在线观看| 九色精品91| 老鸭窝毛片一区二区三区| 亚洲婷婷免费| 亚洲成av人片一区二区密柚| 欧美日韩免费看片| 亚洲自拍另类| 三级欧美在线一区| 蜜臀久久99精品久久久画质超高清| 欧美一区二区三区免费看| 少妇精品久久久一区二区三区| 国产精品视频3p| 国产精品片aa在线观看| 播放一区二区| 精品一区免费| 亚洲一区二区成人| 综合一区二区三区| 国产欧美一区二区精品久久久 | 久久网站免费观看| 国产精品7m凸凹视频分类| 欧美日韩国产综合网| 亚洲欧美日本日韩| 日本精品国产| 国产伦久视频在线观看| 91精品1区| 奇米亚洲欧美| 亚洲a在线视频| 日韩欧美在线精品| 老牛影视精品| 亚洲字幕久久| 日韩在线免费| 在线日韩成人| 国产精品久久久久久久免费观看| 婷婷综合成人| 精品深夜福利视频| 日韩午夜黄色| 精品国产一区二区三区av片| 99pao成人国产永久免费视频| 精品国产免费人成网站| 日韩精品一级中文字幕精品视频免费观看| 免费一级欧美片在线观看网站| 国产美女精品| 在线天堂中文资源最新版| 蜜桃91丨九色丨蝌蚪91桃色| 久久久久久自在自线| 综合欧美精品| 久久男人天堂| 欧美精品中文字幕亚洲专区| 欧美sss在线视频| 久久不卡国产精品一区二区| 日韩视频免费| 亚洲精品福利电影| 国产欧美日韩视频在线| 丝袜美腿一区二区三区| 久久在线91| 欧美日韩一区二区三区不卡视频| 日韩国产欧美一区二区三区| 国产精品7m凸凹视频分类| 97精品国产福利一区二区三区| 亚洲精品国产嫩草在线观看| 牛牛精品成人免费视频| 美女在线视频一区| 日韩精品乱码av一区二区| 日韩午夜在线| 国产一区成人| 久久国产99| 日韩天堂av| 亚洲少妇一区| 综合精品一区| 欧美有码在线| 91精品国产经典在线观看| 国产精品一区亚洲| 国产欧美日韩综合一区在线播放| 国产精品毛片一区二区在线看|