我之前問過類似的問題,但我找到了一個更好的方式來說出它。因此,考慮到有多個DIV ID的HTML文檔,裏面it..like數p標籤每個DIV ID,css針對特定的p標籤
<div id="testing">
<h2>Hello</h2>
<p>this is number one</p>
<p> this is number two </p>
</div>
<div id="testingTwo">
<h2>hello again! </h2>
<p> i just want this one </p>
我怎麼會專門針對沒有影響ID「測試」的第二個p標籤第二個id'testingTwo'的第一個p標籤?
你先生,是一個天才。非常感謝你 – user201535