TOP CATEGORIES

×

What are child selectors in CSS?

R

R. Wilson

Child Selector (>)

In CSS, the child selector is used to select all elements that are children of the specified element.

Example of CSS Child Selector

div > p {

     background-color: #00758F;

     color: #808080;

  } 

0 votes

Your Answer

Email: advertise@gdatamart.com

Donate: To Support US

© 2024 GDATAMART.COM (All Rights Reserved)