选择器没有问题,试着检查下圆括号() ()。
最好晒一下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.7k 阅读
2 回答3.2k 阅读✓ 已解决
5 回答2.2k 阅读
3 回答1.6k 阅读✓ 已解决
3 回答2.7k 阅读✓ 已解决
5 回答743 阅读
4 回答2.2k 阅读✓ 已解决
你是想选择第一个
.Label
?