怎么让文字到阴影上面?

https://www.chunten.com/angpu/test/
image.png
怎么让这文字在阴影的上面,之前用的bootstrap3没问题,但改成bootstrap5就不行了。
image.png

怎么让这文字在阴影的上面,之前用的bootstrap3没问题,但改成bootstrap5就不行了。

阅读 1k
1 个回答

banner-content 元素增加以下样式:

.banner-content {
    position: relative;
    z-index: 1
}

使你的 .banner-content 元素覆盖在你的 overlay-3:before 伪类上面就好了。

推荐问题