Home >Web Front-end >CSS Tutorial >The css layer-background-color property is not supported and the rendering effect
Syntax:
layer-background-color : transparent | color
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; }
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!