html - CSS 背景颜色显示另一种颜色

标签 html css

我有一个工具提示。

工具提示背景颜色为#FFFFFF(白色)。

enter image description here

如果您在该工具提示中看到上图,黑线也显示出来。如何使用 css 去除工具提示中的黑线。

这些是我正在使用的 CSS。

.tipsy-inner {

     background-color: #FFFFFF;
     color: black;
     height:30px ! important;
     max-width: 400px ! important;
     padding: 1px 12px -3px 0px ! important;
     text-align: center;
     border: 1px solid black !important;
     border-radius: 8px;
     font-family: Open Sans !important;
     font-size: 1.2em;
     font-weight: normal !important;
}

最佳答案

“黑线”是元素的边框,所以去掉

border: 1px solid black !important;

你的 css 样式中的行。

关于html - CSS 背景颜色显示另一种颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31423296/

相关文章:

列表中 anchor 上的 CSS 背景,由于图像元素符号而无法拉伸(stretch)以覆盖整个 li

css - 未应用 Flex ColumnSeries CSS 填充

html - 对齐按钮内的文本和图像

html - CSS 背景图像未显示

html - html表格中frame属性box和border有什么区别

html - 如何在页面底部粘贴 <footer> 元素(HTML5 和 CSS3)?

html - 无法将背景图像显示到浏览器的全屏并使其响应

jquery - 正确地为 jQuery Mobile 换肤

html - 在 html 按钮的部分文本上添加颜色

javascript - 加载 json 后,在 AngularJS 应用程序中向 HTML 文档添加一个类?