apply display none property of css on a paragraph -
i working on css , want display none p tag width refrence of div class ""abc unable cannot put , class in p tag auto generating use of refrence must in correct way. please.
here html:
<div class="abc">any text</div> <p>any text here</p>
here css tried far:
.abc p{ display:none}
but know not correct search on google no luck.
try adjacent sibling selector +
. select element preceded former element:
.abc + p{ display:none}
Comments
Post a Comment