css remove space before first element code example
Example: css space between child elements
/*
this method will add bottom space but will not apply bottom space in last child
*/
div > *:not(:last-child) {
display: block;
margin-bottom: 30px;
}