CSS 修正了背景图片'Trick'

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CSS 修正了背景图片'Trick'相关的知识,希望对你有一定的参考价值。

<style type="text/css">
body { padding:0; margin:0; background:#fff; }
.content {
	padding:10px 20px 10px 200px;
	border-bottom:1px solid #666;
	background-color: trasnsparent;
	background-repeat: no-repeat;
	background-position: 20px 20px;
	background-attachment: fixed;
}
.green {
	background-image: url(images/circle_green.gif);
}
.yellow {
	background-image: url(images/circle_yellow.gif);
}
.red {
	background-image: url(images/circle_red.gif);
}
.purple {
	background-image: url(images/circle_purple.gif);
}
.blue {
	background-image: url(images/circle_blue.gif);
}
.content p {
	font:normal 12px/18px verdana;
	color:#000;
}
</style>
</head>
<body>

<div class="content green">
</div>

<div class="content blue">
</div>


<div class="content yellow">
</div>

<div class="content purple">
</div>


<div class="content red">
</div>

以上是关于CSS 修正了背景图片'Trick'的主要内容,如果未能解决你的问题,请参考以下文章

it's a big trick

poj 3207 Ikki's Story IV - Panda's Trick 2-sat

poj 3207 Ikki's Story IV - Panda's Trick 2-SAT

poj3207 Ikki's Story IV - Panda's Trick

POJ3207 Ikki's Story IV - Panda's Trick 2-sat

POJ 3207 Ikki's Story IV - Panda's Trick