在谷歌浏览器中如何去除掉option中的边框,我只能做到去除select的边框。
<!DOCTYPEhtml><html><head><style>select{font-size:42px;outline:none;border:0;border:n...
<!DOCTYPE html>
<html>
<head>
<style>
select{
font-size: 42px;
outline:none;
border:0;border:none
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
select{border:0 none; }
</style>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="">
</head>
<body>
<select>
<option >123</option>
<option>123</option>
</select>
</body>
</html>
@media screen and (-webkit-min-device-pixel-ratio:0) {
select{border:0 none; } //这个无效 展开
<html>
<head>
<style>
select{
font-size: 42px;
outline:none;
border:0;border:none
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
select{border:0 none; }
</style>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="">
</head>
<body>
<select>
<option >123</option>
<option>123</option>
</select>
</body>
</html>
@media screen and (-webkit-min-device-pixel-ratio:0) {
select{border:0 none; } //这个无效 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询