选择器没有问题,试着检查下圆括号() ()。
最好晒一下chrome的截图
<style type="text/css">
input {
}
.pupopName {
display: none;
position: fixed;
width: 70%;
background-color: #737373;
height: 100px;
}
input:nth-of-type(1) {
width: 300px;
border: 1px solid #000;
height: 40px;
}
.Label:nth-of-type(1) {
background: pink;
}
</style>
</head>
<body>
<input type="text">
<div class="pupopName">123</div>
<span class="Label">123</span>
<span class="Label">123</span>
<span class="Label">123</span>
<span class="Label">123</span>
</body>
完全木有任何问题,不清楚你的无法选择到底是个什么情况。贴截图把。
10 回答11.1k 阅读
6 回答3k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3.1k 阅读✓ 已解决
2 回答2.7k 阅读✓ 已解决
3 回答5.1k 阅读✓ 已解决
5 回答2k 阅读
你是想选择第一个
.Label
?