类选择器:忽略通配选择器

2017-06-07 14:50:00
admin
原创
477
<html>
	<head>
		<style type="text/css">
			.important {
				color:red;
			}
		</style>
	</head>
	<body>
		<h1 class="important">This heading is very important.
		</h1>
		<p class="important">This paragraph is very important.
		</p>
		<p>This is a paragraph.
		</p>
		<p>This is a paragraph.
		</p>
		<p>This is a paragraph.
		</p>
		<p>...
		</p>
	</body>
</html>
  • QQ讨论群
  • 关注微信
    • 欢迎咨询
    • 欢迎加入QQ群 16506021
  • 公众号:源宝网络