📜  网页不透明的照片标题 - Html 代码示例

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

代码示例1
.hero::before { background-image: url(/img/background-1932466_1920-320x212.jpg); background-size: cover; content: ""; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; opacity: 0.4; }