CSS background-color attribute, cssbackgroundcolor

Source: Internet
Author: User

CSS background-color attribute, cssbackgroundcolor

Definition and usage of the background-color attribute:
Sets or retrieves the background color of an object.
When both the background color and background image are set, the background image will overwrite the background color.
The corresponding script feature is backgroundColor.
Syntax structure:

Background-color: <color>

Valid value:
<Color>: Specifies the color.
Transparent is the default value.
Browser support:
Internet Explorer supports this attribute.
Firefox supports this attribute.
Google Chrome supports this attribute.
Operabrowser supports this attribute.
Inheritance:
No inheritance.
Instance code:

<! DOCTYPE html>  

The original Article address is CSS background-color attribute.

For more css content, see http://www.softwhy.com/divcss/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.