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 :)

有没有办法使用Semantic-UI语义垂直居中页面上的div :)

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>

2 个解决方案

#1


28

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

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

Use middle aligned class on grid

在网格上使用中间对齐的类

更多相关文章

  1. HTML结构语义化
  2. 如何让你的前端代码更像HTML5(用语义元素构造html5)
  3. HTML5中最看重的理念“语义化”相比HTML有什么区别?
  4. PHP选择具有特定宽度的图像并构建网格
  5. 具有固定宽度网格的引导程序和应跨越窗口宽度的图像
  6. 使用javascript访问网格内的文本框
  7. Angularjs指令ng-hide在单元格模板中不对网格数据的更改进行绑定
  8. 如何在角度js中每5秒重新加载网格?
  9. Python note1(语言语义)

随机推荐

  1. JavaScript 进阶问题列表[每日前端夜话0x
  2. 【python】虚拟环境搭建
  3. 美国终于挥舞着霸权大棒向程序员动手了
  4. 【python】使用pip提示ModuleNotFoundErr
  5. JavaScript的前景与未来[每日前端夜话0x9
  6. 回到基础:JavaScript API[每日前端夜话0xA
  7. C语言学习心得(六)
  8. 什么是Deno,它与Node.js有什么不同?[每日前
  9. 成为优秀程序员的101条准则[每日前端夜话
  10. 假装网络工程师28——MPLS跨AS通信option