Html CSS的哪些可能属性可以从其他url获取?
我想列出所有可以从外部资源中获得价值的CSS属性。 e、 gHtml CSS的哪些可能属性可以从其他url获取?,html,css,url,Html,Css,Url,我想列出所有可以从外部资源中获得价值的CSS属性。 e、 g 在CSS 2.1中,接受值的属性的完整列表是 (背景图像的缩写) (缩写为提示后和提示前) (列表样式图像的缩写) 注:非规范性附录中定义了cue、cue after、cue before和play during,因此无需UAs实施它们。:before是一个伪元素。您是否试图引用其中使用的内容属性?@ManojKumar是的,Manoj,您是对的。内容属性。我可以列出的一些属性是:并且我会省略所有的听觉属性-听觉样式
在CSS 2.1中,接受值的属性的完整列表是
- (背景图像的缩写)
- (缩写为
和提示后
)提示前
- (列表样式图像的缩写)
注:非规范性附录中定义了
cue
、cue after
、cue before
和play during
,因此无需UAs实施它们。:before
是一个伪元素。您是否试图引用其中使用的内容
属性?@ManojKumar是的,Manoj,您是对的。内容属性。我可以列出的一些属性是:并且我会省略所有的听觉属性-听觉样式不是规范的,也几乎不相关。@我考虑过省略它们,但由于提问者已经知道大多数非澳大利亚的,我更喜欢包括它们。不过,我加了一张便条。
<!DOCTYPE html>
<html>
<head>
<style>
body {
background: #ffffff url("http://www.w3schools.com/css/img_tree.png") no-repeat right top;
margin-right: 200px;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
<p>Now the background image is only shown once, and it is also positioned away from the text.</p>
<p>In this example we have also added a margin on the right side, so that the background image will not disturb the text.</p>
</body>
</html>
background-image
list-style-image
content
border-image-source