国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

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

前端 - 微信瀏覽器 css3圓角問題

瀏覽:97日期:2022-06-25 08:47:09

問題描述

今天,我按照很正常的使用方式寫了個(gè)圓角樣式應(yīng)用在一張圖片上,在chrome瀏覽器和iPhone的微信瀏覽器看都很正常,但是到了Android的微信瀏覽器,就變得很奇怪,下面是完整的代碼,這是jsbin的運(yùn)行代碼,也是我期望的效果。

在這里想請(qǐng)教一下大家,謝謝!

<html><head> <meta name='viewport' content='width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0'> <title></title> <style>html, body { margin: 0; padding: 0; text-align: center;}body { padding-top: 50px; background-color: #999;}.headimg { width: 150px; height: 150px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; border: 5px solid red;} </style></head><body><img src='http://t3.qpic.cn/mblogpic/9e64a806a808a55ca1ea/2000' alt=''></body></html>

問題解答

回答1:

對(duì)不起各位,剛才是我自己腦袋秀逗了。

<html><head> <meta name='viewport' content='width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0'> <title></title> <style>html, body { margin: 0; padding: 0; text-align: center;}body { padding-top: 50px; background-color: #999;}.wrapper { background-color: #fff; padding: 5px; width: 150px; height: 150px; line-height: 150px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%;}.headimg { width: 150px; height: 150px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%;} </style></head><body><p class='wrapper'><img src='http://t3.qpic.cn/mblogpic/9e64a806a808a55ca1ea/2000' alt=''></p></body></html>

標(biāo)簽: 微信
相關(guān)文章:
主站蜘蛛池模板: 郓城县| 若尔盖县| 沁阳市| 香格里拉县| 莱西市| 温州市| 永昌县| 龙胜| 安陆市| 桐城市| 彰武县| 读书| 行唐县| 沂水县| 长宁区| 玛多县| 濉溪县| 东乡族自治县| 鄯善县| 玛多县| 武山县| 辰溪县| 米林县| 兴隆县| 饶阳县| 吴堡县| 车险| 株洲市| 长岛县| 介休市| 安多县| 武汉市| 文水县| 澜沧| 廉江市| 林周县| 汉中市| 全椒县| 广德县| 上林县| 泸定县|