MOxFIVE / M-Hexo-Blog

Building my Blog by Hexo & theme Yilia & Yelee.
http://MOxFIVE.xyz/
7 stars 4 forks source link

Vertical centre 垂直居中 #7

Closed MOxFIVE closed 9 years ago

MOxFIVE commented 9 years ago

Need to centre article-nav-title vertically. 上下篇文章导航要居中。

In latest article: center In other artile: centre2 centre3

MOxFIVE commented 9 years ago
MOxFIVE commented 9 years ago

自行问题解决的过程:

  1. 审查元素,修改相关样式;
  2. 搜索垂直居中的方法;
  3. 提取有关源代码模块单独测试;
  4. 在测试模块中实现靠边垂直居中效果;
  5. 重写相关代码到源文件,完善细节效果。
  6. GitHub版本管理,纪录经验。