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

您的位置:首頁技術文章
文章詳情頁

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

瀏覽:248日期: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://www.b3g6.com/wenda/index.css'> <script src='http://www.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 - 瀏覽器縮放分辨率為什么布局會變縮放的話會這樣

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

請問這是為什么

問題解答

回答1:

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

把width寬度改了就可以適應了:

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

收縮在寬度計算上有時會產生差錯,比如現在這個頁面的header右側這部分

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

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

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

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

回答3:

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

標簽: CSS
相關文章:
日本不卡不码高清免费观看,久久国产精品久久w女人spa,黄色aa久久,三上悠亚国产精品一区二区三区
欧美jjzz| 日本在线高清| 日韩欧美另类中文字幕| 日韩av二区| 亚洲欧洲美洲国产香蕉| 亚洲精品一二三区区别| 日本aⅴ亚洲精品中文乱码| bbw在线视频| 91成人精品观看| 婷婷激情久久| 日本不卡高清视频| 91精品婷婷色在线观看| 成人在线免费观看网站| 男女男精品网站| 三级精品视频| 狠狠久久伊人中文字幕| 欧美一区在线观看视频| 久久国产精品99国产| 尤物在线精品| 久久久水蜜桃av免费网站| 国产精品久久久久久久久免费高清 | 午夜精品成人av| 久久精品欧洲| 亚洲日本欧美| 亚洲欧美久久| 免费成人av在线播放| 国产一区二区精品久| 日本特黄久久久高潮| 视频一区日韩| 久久精品高清| 日韩一区二区三区免费| 久久视频国产| 福利一区二区| 久久国产精品美女| 国产精品videossex| 首页国产精品| 中文字幕高清在线播放| 91看片一区| 国产在线看片免费视频在线观看| 国产精品久久久亚洲一区| 中文另类视频| 精品一二三区| 久久久久97| 久久伊人国产| 成人一二三区| 91精品一区国产高清在线gif| 欧美男人天堂| аⅴ资源天堂资源库在线| 日韩欧美精品一区| 影音先锋国产精品| 婷婷亚洲五月| 丝袜国产日韩另类美女| 国产精区一区二区| 在线一区免费观看| 极品日韩av| 亚洲欧美视频一区二区三区| 丝袜美腿高跟呻吟高潮一区| 婷婷精品进入| 亚洲欧美在线综合| 精品九九久久| 欧美一区自拍| 国产精品嫩模av在线| 欧美天堂视频| 国产一区二区三区自拍| 最新国产拍偷乱拍精品| 久久av一区二区三区| 青青草伊人久久| 国产精品三p一区二区| 国产欧美欧美| 国产精品超碰| 午夜久久中文| 一区在线免费| 婷婷五月色综合香五月| 国产一区二区三区四区五区传媒| 激情久久一区二区| 亚洲欧美日韩高清在线| 国产美女视频一区二区| 97国产成人高清在线观看| 久久精品高清| 久久国内精品自在自线400部| 精品久久97| 国产一区调教| 快she精品国产999| 天堂va欧美ⅴa亚洲va一国产| 国产精品日本一区二区不卡视频 | 你懂的国产精品| 精品午夜视频| 亚洲精品婷婷| 日韩和欧美一区二区三区| 老色鬼精品视频在线观看播放| 中文av在线全新| 中文精品视频| 国产日韩中文在线中文字幕| 国产成人精品一区二区三区视频| 99成人在线| 日本精品久久| 免费精品国产| 一级成人国产| 久久不见久久见中文字幕免费| 国产在线|日韩| 国产精品亚洲欧美日韩一区在线| 日韩一区二区三区免费播放| 日韩中文首页| 亚洲青青久久| 久久av中文| 国产精品7m凸凹视频分类| 97精品资源在线观看| 中文字幕在线看片| 日韩成人a**站| 最新日韩欧美| 国产精品www.| 视频一区免费在线观看| 欧美aa在线视频| 欧美日韩黄网站| 久久婷婷亚洲| 欧美国产中文高清| 久久亚洲国产| 国产在线观看www| 亚洲免费成人av在线| 久久精品国产www456c0m| 国产精品18| 噜噜噜久久亚洲精品国产品小说| 国产第一亚洲| 欧美私人啪啪vps| 99国产精品99久久久久久粉嫩| 精品少妇av| 91福利精品在线观看| 五月天久久777| 国产毛片久久久| 亚洲最新av| 正在播放日韩精品| 国产精品白浆| 久久三级中文| 蜜臀av性久久久久蜜臀aⅴ四虎 | 亚洲2区在线| 不卡中文字幕| www.九色在线| 国产视频一区二| 日韩一区精品视频| 亚洲欧美日韩高清在线| 国际精品欧美精品| 国产精品密蕾丝视频下载| 亚洲精品伦理| 日韩视频一区二区三区在线播放免费观看| 国产精品亚洲二区| 日韩一区二区三免费高清在线观看| 免费日韩av片| 91成人网在线观看| 久久久精品午夜少妇| 国产一区二区三区四区五区传媒| 久久久久久久久久久妇女| 久久超级碰碰| 国语精品一区| 老司机精品在线| 国产精品色婷婷在线观看| 久久av网址| 日韩三级精品| 国产精品久久久久久久免费软件| 日本欧美韩国一区三区| 欧美亚洲三级| 日韩在线网址| 久久婷婷国产| 国产精品久久久亚洲一区| 麻豆91在线播放| 国产日韩一区二区三免费高清| 综合国产在线| 日韩欧美美女在线观看| 国产精品一区二区三区美女| 日韩精品福利一区二区三区| 国产精品v一区二区三区| 国产亚洲精品美女久久| 国产一区二区三区天码| 亚洲国产欧美日本视频| 亚洲高清毛片| 亚洲一区观看| 欧美一区二区三区免费看| 国产精品一区二区精品| 水蜜桃精品av一区二区| 99精品一区| 日本成人中文字幕在线视频| 亚洲一级大片| 国产精品红桃| 久久不见久久见国语| 成人免费一区| 成人午夜毛片| 国产69精品久久| 日韩黄色在线观看| 精品视频在线观看网站| 日韩免费久久| 国产在线日韩| 成人精品高清在线视频| 欧美日韩在线播放视频| 午夜在线精品| 尤物网精品视频| 国产精品115| 91精品在线免费视频| 精品亚洲美女网站| 日韩精品电影| 日韩成人精品一区二区三区| 亚洲激情国产|