Instead of making hard-to-maintain inline style changes, CSS allows the web developer to simply call an external style sheet, and make a site-wide design change, in a matter of seconds.
CSS允许开发者用外联的样式表来取代那些难以维护的内嵌样式,这几秒钟之内就可改变全站的设计。
When you create a new style sheet, those pesky inline styles you hastily added will come back to haunt you and you'll spend hours hunting them down and stripping them out.
如果你建立了新的样式表,那分散在HTML代码中的嵌入式CSS会给你带来很大麻烦,你可能会花几小时的时间来剥离他们。
It also indicates whether these rules are inline, in a style sheet, or on the current page.
它还可指示这些规则在样式表或当前页面中是否为内联样式。
For example, an element might have both an inline style rule and a style rule from a style sheet applied to it.
例如,某个元素可能同时应用了内联样式规则和来自样式表的样式规则。
For example, an element might have both an inline style rule and a style rule from a style sheet applied to it.
例如,某个元素可能同时应用了内联样式规则和来自样式表的样式规则。
应用推荐