style: use BEM style

This commit is contained in:
jiangruowei 2017-02-28 11:36:46 +08:00
parent 09cf3d1c25
commit 0606925698

View File

@ -1,5 +1,5 @@
@component-namespace z { @component-namespace z {
@component switch { @b switch {
height: 29px; height: 29px;
width: 49px; width: 49px;
display: inline-block; display: inline-block;
@ -7,7 +7,7 @@
position: relative; position: relative;
border: 1px solid; border: 1px solid;
@descendent node { @e node {
width: 27px; width: 27px;
height: 27px; height: 27px;
border-radius: 100%; border-radius: 100%;