CSS 边框半径 IE 背景

标签 css internet-explorer border

在 IE (11) 中使用 border-radius 时,我们注意到背景从后面的 div 显示,有没有人有任何想法来阻止背景显示并使其保持纯红色?

表格列的 css 是:

table.data th.first {
background-color: #990000;
padding-top: 1px;
border-top-left-radius: 8px;
height: 25px;
margin: 15px 0 0;
color: #fff;
background-clip: padding-box;
-moz-background-clip: padding;
-webkit-background-clip: padding;

enter image description here

最佳答案

尝试添加border: 1px solid #900;

http://jsfiddle.net/sinnix/93y57tfr/3/

关于CSS 边框半径 IE 背景,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27043470/

相关文章:

html - 选择另一个 div 中的第一个 div

html - 如何使用 Material 设计或自定义 CSS 设置 simple_form 的样式

css - 输入区域在 IE 和 Chrome 中显示不同

c# - 如何在 RichTextBox 中的单词周围绘制边框?

css - 我需要帮助使用 clip path css 在形状(陡峭的平行四边形)上制作 2px 边框

html - CSS?两边带边框的居中文本

html - 我们可以在 CSS 中指定自定义数据属性值吗?

Javascript - 循环 3 个函数,每个函数之间有延迟

jquery - IE : jquery get not working (sometimes)

javascript - 当变量为 null 或未定义时 IE9 javascript 错误