我需要在样式表文件中为div
中的strong
元素指定CSS,如下所示的代码。这个strong
元素位于一个父div
中,该父元素的类是commandBar
。
<strong>Outside Div</strong>
<div class='commandBar'>
<button class='dBtn'>Delete</button>
<strong>My Name</strong>
<button class='aBtn'>Add</button>
</div>