有没有一种方法可以模糊一个容器的背景,但不模糊其中的文本?
![screenshot](https://istack.dev59.com/Achnx.webp)
You have your fullscreen image first [already done by me ;-) Actually I'm using a pure css solution:
background-size: cover;
Than blurring the background of the (1000px) centered container (
margin: 0 auto
), but not the content in the container.The same container (
margin: 0 auto; width: 1000px;
) (of course without the blur), where you can add html stuff (...text).
container{filter:blur(5px) brightness(0.5);}
。 - Anshu Dwibhashidiv
,span
还是其他的? - Anshu Dwibhashi