SOURCE

console 命令行工具 X clear

                    
>
console
<div>background是复合样式,在css2.1中包含position,position如果不用关键字,用数值或者百分比,那么是有先后顺序的,先左右,后上下。  <br />
在css3中,需要指定位置关键字,然后跟一个数值。代码中把background-position单独拿出来时为了兼容老式浏览器。
</div>
div {
	background: url(http://csssecrets.io/images/code-pirate.svg)
	            no-repeat bottom right #58a;
	background-position: right 20px bottom 10px;
	
	/* Styling */
	max-width: 30em;
	min-height: 15em;
	padding: 10px;
	color: white;
	font: 100%/1 sans-serif;
}