grab children by class name css code example
Example 1: get child element by class javascript
var element = document.querySelector('#Element');
var elementChildren = element.querySelectorAll('.Element-child');
Example 2: how to use child selectors in css
ul li { margin: 0 0 5px 0; }
ul > li { margin: 0 0 5px 0; }