摘要:
前言 BEM 是一种 CSS class 命名规范. 目的是防止大家名字取太短, 不小撞名字后果很麻烦. 参考: Youtube – You Probably Need BEM CSS in Your Life (Tutorial) Battling BEM CSS: 10 Common Probl 阅读全文
摘要:
<img> extra 4px at the bottom 参考: Extra 4px at the bottom of html <img> The mysterious 4px gap in between images 效果 红色部分多出来的 4px. 原因是 img 是 inline ele 阅读全文
摘要:
前言 平面设计的基础是排版, 字体, 颜色, 这篇是字体的学习笔记. 参考: How to Choose Fonts For Your Designs Youtube – Improving Web and Mobile App Typography - 5 basic guidelines You 阅读全文