From 06069256985634c2d0dbe3c99a1d79b49ca1f05e Mon Sep 17 00:00:00 2001 From: jiangruowei Date: Tue, 28 Feb 2017 11:36:46 +0800 Subject: [PATCH] style: use BEM style --- packages/zanui-css/src/switch.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/zanui-css/src/switch.css b/packages/zanui-css/src/switch.css index 034eeac9a..270a32104 100644 --- a/packages/zanui-css/src/switch.css +++ b/packages/zanui-css/src/switch.css @@ -1,5 +1,5 @@ @component-namespace z { - @component switch { + @b switch { height: 29px; width: 49px; display: inline-block; @@ -7,7 +7,7 @@ position: relative; border: 1px solid; - @descendent node { + @e node { width: 27px; height: 27px; border-radius: 100%;