58

从支付宝tabbar看BEM

 5 years ago
source link: https://juejin.im/post/5bb4678a5188255c980be9d2
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
首先BEM是什么意思? BEM的意思就是块(block)、元素(element)、修饰符(modifier),是由Yandex团队提出的一种前端命名方法论,是一种 CSS命名规范 我们来看一个例子zfbui-tabbar__item 从这个名字我们能够解读出

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK