使用Semantic-UI垂直对齐div
16lz
2021-01-22
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
在网格上使用中间对齐的类
更多相关文章
- HTML结构语义化
- 如何让你的前端代码更像HTML5(用语义元素构造html5)
- HTML5中最看重的理念“语义化”相比HTML有什么区别?
- PHP选择具有特定宽度的图像并构建网格
- 具有固定宽度网格的引导程序和应跨越窗口宽度的图像
- 使用javascript访问网格内的文本框
- Angularjs指令ng-hide在单元格模板中不对网格数据的更改进行绑定
- 如何在角度js中每5秒重新加载网格?
- Python note1(语言语义)