[英]Chrome. No matter what I do, user agent stylesheet overwrites border. How do I remove border?
[英]Border on Google Chrome. (CSS) ¿How to remove?
我的页面显示了一个边框而不是我没有放置它(对不起我的英语);
谷歌浏览器[图片]
这是我的 css 代码
#mydiv {
width:98px;
height:98px;
border-radius: 52%;
border:solid 0px;
position:absolute;
top:-50px;
left:85%;
}
#mydiv img {
width:100px;
height:100px;
border-radius: 52%;
border:solid 0px;
z-index: -1;
}
复制并使用以下代码替换您的代码:
#mydiv {
width:98px;
height:98px;
border-radius: 52%;
border:none;
position:absolute;
top:-50px;
left:85%;
}
#mydiv img {
width:100px;
height:100px;
border-radius: 52%;
border:none;
z-index: -1;
}
它会解决你的问题,朋友。
您也可以只删除边框
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.