DEV Community

Mubasshir Ahmed
Mubasshir Ahmed

Posted on

Child Selector ( > )

this element is used to select a specific child element from a specific element.

   ```html
    <div class="abc">
       <section>.....</section>
       <p>.....</p>
       <button>.....</button>
   </div> 
  ```
Enter fullscreen mode Exit fullscreen mode

here , to select all from our "div" class name "abc" ,we use child selector .

   ```CSS
   .abc > p {
         ........
         ........
     }
    ```
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more