Google News
logo
CSS - Interview Questions
Explain child selector in CSS ?

Child selectors can be used for applying the style for parent element and this will descend to the child elements. Below is the example -

body > input{
color: #FFFFF1;
}
Advertisement