【发布时间】:2017-11-01 22:14:48
【问题描述】:
我刚刚开始使用 Bulma 设置我的博客原型。有一个 footer 部分,其中包含两个等分的列。
我希望三个项目(Twitter、电子邮件等)在黄色区域中垂直居中。布尔玛有专门的课程吗?
(请查看完整的example on codepen.io。)
<footer class="footer" style="background-color: lightpink;">
<div class="columns">
<div class="column has-text-centered-touch" style="background-color: cyan;">
<p>Some copyright stuff...</p>
<p>Templated with <a href="https://bulma.io" target="_blank">Bulma</a>. Published with <a href="https://gohugo.io/" target="_blank">Hugo</a>.</p>
</div>
<div class="column has-text-right" style="background-color: yellow;">
<div class="level">
<div class="level-left"></div>
<div class="level-right">
<a class="level-item" href="#">Twitter Icon</a>
<a class="level-item" href="#">Email Icon</a>
<a class="level-item" href="#">LinkedIn Icon</a>
</div>
</div>
</div>
</div>
</footer>
【问题讨论】: