📜  文本背后的 CSS 透明背景 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:48:01.250000             🧑  作者: Mango

代码示例1
p {
  position: absolute;
  background-color: green;
  filter: alpha(opacity=60);
  opacity: 0;
}

span {
  color: white;
  filter: alpha(opacity=100);
  opacity: 1;
}