如何prevent背景图片从得到模糊 [英] How to prevent the background image from getting blurry

查看:148
本文介绍了如何prevent背景图片从得到模糊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道如何让背景图像不模糊的文本时结束它在CSS中,因为它破坏我的网站看看,如果它是模糊的。

I need to know how to get the background image to not be blurry when text is over it in CSS as it spoils the look of my website if it's blurry.

我的CSS是:

background: #ff0000 url(img/rain.jpg) top center repeat-y; 
background-size: 100%; 

但是,当我加载它那里是文本线变模糊,我不希望它让我怎么做呢?

But when I load it up where there is text that line goes blurry and I don't want it to so how do I do this?

小提琴例如

推荐答案

我做了它:

background: transparent;

H2 P 元素。

这篇关于如何prevent背景图片从得到模糊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆