Search code examples
csssemantic-ui

Set space between elements - margin top/bottom


Is there any semantic ui class to put space (top/bottom) between components or I have to use css styles? Eg. Between two segments or between a header and a cards group, etc etc..


Solution

  • Yes there is. You have to use the hidden and divider classes.

    <div class="ui hidden divider"></div>