.x-abc { border-bottom-style: solid; border-bottom-color: #ff0000; }
.x-abc { border-bottom-style: solid; }
任何东西上都有一个默认样式的啊 那么你只需要吧这个边框的颜色改成浏览器默认的颜色就可以了啊 .x-abc { border-bottom-color: 默认颜色; }
.x-abc { border-bottom-color: 默认颜色; }
[quote=引用 6 楼 dataminer_2007 的回复:] [quote=引用 4 楼 z284122755 的回复:] 你需要把后定义的样式放在你引入的样式后面 <link rel="stylesheet" href="css/a.css">//这个是你引入的样式,里面有x-abc <style> .x-abc{ border-bottom-color: '这里重新设定为系统默认值';} </style> 这样你之前引入的样式就被覆盖掉了
[quote=引用 4 楼 z284122755 的回复:] 你需要把后定义的样式放在你引入的样式后面 <link rel="stylesheet" href="css/a.css">//这个是你引入的样式,里面有x-abc <style> .x-abc{ border-bottom-color: '这里重新设定为系统默认值';} </style> 这样你之前引入的样式就被覆盖掉了
你需要把后定义的样式放在你引入的样式后面 <link rel="stylesheet" href="css/a.css">//这个是你引入的样式,里面有x-abc <style> .x-abc{ border-bottom-color: '这里重新设定为系统默认值';} </style> 这样你之前引入的样式就被覆盖掉了
61,112
社区成员
60,730
社区内容
加载中
试试用AI创作助手写篇文章吧