Home  >  Article  >  Web Front-end  >  How to set the background image to be transparent_html/css_WEB-ITnose

How to set the background image to be transparent_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:20:513674browse

css

I set a background image in the tag. When the page is displayed, the table covers the background image file. Can I set the background image to semi-transparent? If the body If it cannot be achieved, how to solve it using div. Looking for help

Reply to the discussion (solution)

There is a transparency style
opacity that can be achieved

How Setting this style on the body will make the entire page transparent. I only want the background image to be transparent and the others opaque. Can this only be solved with a div?

Can't you just load the background image with a separate tag? , there will be no difference in the view, I don’t understand what you are struggling with

I agree with the above. Otherwise it wouldn’t be called a background image. Load it directly with div

The table covers the background image of the body

So we need to make the background image of the body transparent

This? !

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn