Front-end: Using blurred backgrounds with contents unaffected.

Purpose: Using a picture as the background of a page with blurred effect, while the content not blurred.

Solution: Using two div elements, one has the class that blurs the picture and covers the whole page, the other has the class setting z-index -1, and set absolute positions.

原文地址:https://www.cnblogs.com/ericwonne1996wangqifan/p/8295078.html