Vertical alignment of a div using Semantic-UI

Michael Khait picture Michael Khait · Jun 2, 2015 · Viewed 43.8k times · Source

I can't seem to find it anywhere in the docs.

Is there a way to vertically center a div on the page using Semantic-UI semantics :)

Here is what I'm trying to do:

<div class="ui centered grid">
  <div class="eight column wide">
    <div>I want to be centered vertically on a page</div>
  </div>
</div>

Answer

Uday Hiwarale picture Uday Hiwarale · Jun 3, 2016

http://semantic-ui.com/examples/grid.html

Use middle aligned class on grid