Home > Web Front-end > CSS Tutorial > The css layer-background-color property is not supported and the rendering effect

The css layer-background-color property is not supported and the rendering effect

黄舟
Release: 2017-06-21 16:00:17
Original
3254 people have browsed it

Syntax:

layer-background-color : transparent | color
Copy after login

Parameters:
transparent: The background color is transparent
color: Specify the color. See Color Units and Appendix: Color Table

Description:

Set or retrieve the background color of the entire area of ​​the object.

Example:

div { layer-background-color: transparent; }
Copy after login

CSS property LAYER-background-image(color) is not supported [Microsoft Internet Explorer 5.0, Microsoft Internet Explorer 5.5, Microsoft Internet Explorer 6.0, Netscape Navigator 6.0, Netscape Navigator 7.0], how to solve it, or tell me the reason, it is best to teach both, thank you

LAYER-background-image(color)I don’t understand it either~

Correct css background image settings:
bakcground-image:url(..picture path..)
bakcground-color:#000; //Color of the blank part of the picture
background-repeat:no-repeat; //The pictures are not arranged repeatedly. They can also be repeat-x, repeat-y and repeat
background-position:center center; //Background picture The positions that appear are one on the x-axis and one on the y-axis. They can also be "10px 20px" or "10% 20%".

It can also be abbreviated: background:url(..path..) no-repeat 10px 20px #000;

The effect of the layer-background-color attribute in the css code is the background color

The above is the detailed content of The css layer-background-color property is not supported and the rendering effect. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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