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

WBOY
Release: 2016-06-24 12:20:51
Original
3673 people have browsed it

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? !

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template