css set spacing forchildren 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;
}
/*
this method will add bottom space but will not apply bottom space in last child
*/
div > *:not(:last-child) {
display: block;
margin-bottom: 30px;
}