<template>
<div>
<div class="backgroundGray"></div>
</div>
</template>
<style>
.backgroundGray {
position: absolute;
width: 100%;
height: 937px;
top: 0;
background: url("");//图片地址
background-repeat: no-repeat;//图片不平铺
-webkit-filter: blur(15px);//模糊
-moz-filter: blur(15px);//模糊
-o-filter: blur(15px);//模糊
-ms-filter: blur(15px);//模糊
filter: blur(15px);//模糊
}
</style>
html+css设置背景图模糊
最新推荐文章于 2024-05-01 14:11:26 发布