add space between element css 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;
}