【文件属性】:
文件名称:buttono:灵活的Sass mixin,用于创建BEM样式的按钮
文件大小:714KB
文件格式:ZIP
更新时间:2021-02-04 20:40:15
css sass front-end mixins frontend
Buttono是基于BEM命名约定的 mixin。 它可以帮助您轻松创建漂亮的按钮。
优点
大多数时候,您只需要一种颜色即可创建按钮。
即使Buttono遵循BEM方法论,您仍然可以将其与所有其他约定一起使用。
使用Buttono创建的按钮在所有现代浏览器中看起来都将完全相同。
无需担心focus样式的可访问性。
由于Buttono灵活的结构,您可以在任何情况下对其进行配置。
演示版
入门
npm install buttono --save
要么
yarn add buttono
用法
.c-button {
// Note that! The exact path will