html - CSS 文件更改不会反射(reflect)在浏览器中

标签 html css apache xampp

我在 css 文件中有以下函数。

#portfolio .portfolio-box .portfolio-box-caption {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
 opacity: 0;
  background: rgba(13, 13, 13, 0.1);
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

我已经将 rgba 函数的参数值更改为如下内容:

background: rgba(255, 255, 132, 0.1);

但是这些更改在我的浏览器中是不可见的。我也删除了缓存的浏览器数据,但没有得到任何结果。

请帮帮我! 提前致谢。

最佳答案

我认为问题在于您将属性不透明度设置为零。尝试删除“不透明度:0”行或将其更改为更高的值。

关于html - CSS 文件更改不会反射(reflect)在浏览器中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43877793/

相关文章:

c - Apache 日志 RSA 加密

apache - 如何确保 AuthName 在所有浏览器中都有效?

javascript - 尝试使用 VueRouter 迁移 Vue 应用程序时出现控制台错误

html - 如何在带有网格的 Bootstrap 中设置中间和底部文本

jquery - 两个 div 并排 : how can i make the div that is on the left side go down when it breaks for responsive layout?

css - 从背景中剪下的透明文本

php - 用户名可用性检查未连接

html - div 内的额外填充

javascript - 当 div 清空时,Ajax 加载的弹出图像并不总是清除

java - Apache fediz 1.2 - 上下文初始化失败