In HTML and CSS, background color refers to the color applied to the background of a web page or to a specific HTML element. It is set with the background-color CSS property. By assigning this property a value (color), I can change the background color of its elements. How To Land...
backgroundColor property Learn 登入 關閉警示 我們不會再定期更新此內容。 如需此產品、服務、技術或 API 的支援資訊,請參閱Microsoft 產品生命週期。 建議的版本 IHTMLControlRange2 IHTMLCSSImportRule IHTMLCSSMediaList IHTMLCSSMediaRule IHTMLCSSNamespaceRule...
In HTML and CSS, background color refers to the color applied to the background of a web page or to a specific HTML element. It is set with the background-color CSS property. By assigning this property a value (color), I can change the background color of ...
The background-color property is specified as a single <color> value. Values <color> The uniform color of the background. It is rendered behind any background-image that is specified, although the color will still be visible through any transparency in the image.Accessibility...
HTML Styles:The background Property CSS Tutorial:CSS Backgrounds CSS3 tutorial:CSS3 Backgrounds CSS Reference:The background Property Syntax Return the background property: object.style.background Set the background property: object.style.background="color image repeat attachment position size origin cl...
Tip:In addition to the background-image you should also specify a background-color. The background-color will be used if the image is unavailable. See Also: HTML Styles:The background Property CSS Tutorial:CSS Backgrounds CSS3 Tutorial:CSS3 Backgrounds ...
"background-color": ( property: background-color, class: bg, local-vars: ( "bg-opacity": 1 ), values: map-merge( $utilities-bg-colors, ( "transparent": transparent, "body-secondary": rgba(var(--#{$prefix}secondary-bg-rgb), var(--#{$prefix}bg-opacity)), "body-tertiary": rgba...
2.1 Setting a background-color 2.2 Setting a background-image 2.2.1 background-image 2.2.2 background-repeat 2.2.3 background-attachment 2.2.4 background-position 2.3 The background shorthand property Use CSS instead In previous version of HTML, the <body> element had a large number of styl...
HTML DOM reference: backgroundOrigin property« Previous Complete CSS Reference Next » COLOR PICKER LEARN MORE: Color Converter Google Maps Animated Buttons Modal Boxes Modal Images Tooltips Loaders JS Animations Progress Bars Dropdowns Slideshow Side Navigation HTML Includes Color Palettes PRINT...
up to five of the space-delimited Possible Values, in any order. color(transparent) Any of the range of color values available to theIHTMLCSSStyleDeclaration::backgroundColorproperty. image(none) Any of the range of image values available to theIHTMLCSSStyleDeclaration::backgroundImageproperty...