感谢您的支持,我会继续努力的!
打开微信扫一扫,即可进行扫码打赏哦
点我查看本站打赏源码!
Powered by RUNCODEX.COM,学的不仅是技术,更是梦想!!!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>类选择器</title>
<link href="style.css" type="text/css" rel="stylesheet">
</head>
<body>
<p class="position">这里有一段文字</p>
<div class="position">这里有一段文字</div>
</body>
</html>
输入 JavaScript 代码……
xxxxxxxxxx
p.position {
color: red;
}