<!DOCTYPE html>
<html>
<head>
<title>Blur</title>
<style type="text/css">
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#app {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#app img {
width: 70%;
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
/* blur的值越大越模糊 */
</style>
</head>
<body>
<div id="app">
<img src="https://tse4.mm.bing.net/th?id=OIP.MglsPcsUSOR9MRzvZrthUAHaEo&pid=Api&w=1920&h=1200&rs=1&p=0">
</div>
</body>
</html>