属性(CSS)
**CSS 属性**是特征(如颜色),其关联的值定义了浏览器应如何显示元素的一个方面。
这是一个 CSS 规则的示例
css
/* "div" is a selector indicating that all the div elements */
/* in the document will be styled by that rule */
div {
/* The property "color" with the value "black" indicates */
/* that the text will have the color black */
color: black;
/* The property "background-color" with the value "white" indicates */
/* that the background color of the elements will be white */
background-color: white;
}