Home>Article>Daily Programming> css sets the background image to be blurry and the content not to be blurry
Requirement: A p has set the background: url. Now it is necessary to blur the background of the picture and display the text in the p clearly.
Original code:
我是内容
Original effect:
Solution: The content and image are placed in a p respectively, and the background p blur is set through css , set the absolute position of content p.
html code:
我是内容
Effect:
Original effect:
我是内容
Effect:
我是内容
https://blog.csdn.net/oHeHeHou/article/details/51975539
Recommended tutorial:The above is the detailed content of css sets the background image to be blurry and the content not to be blurry. For more information, please follow other related articles on the PHP Chinese website!