Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent a5039a5 commit a63e96d585c724a79f8e225bec29822d694043f2 @switer committed Feb 25, 2013
Showing with 36 additions and 35 deletions.
  1. +36 −35 README.md
View
@@ -4,44 +4,45 @@ SDK.UI
UI components [GitPage](http://switer.github.com/SDK.UI/)
##Button
+```html
+<!--按钮默认样式为橙色-->
+ <input class="sui-btn sui-w-full sui-mg-top" type="button" value="登录">
- <!--按钮默认样式为橙色-->
- <input class="sui-btn sui-w-full sui-mg-top" type="button" value="登录">
-
- <!--可更换按钮样式:sui-btn-silver-->
- <input class="sui-btn sui-btn-silver sui-mg-top" type="button" value="修改密码">
-
- <!--可设置toggle属性,指定toggle时间。对应的方法:$('btnSelctor').toggle(time, callback)-->
- <input class="sui-btn sui-btn-primary sui-mg-top" data-toggle="2000" type="button" value="toggle">
+<!--可更换按钮样式:sui-btn-silver-->
+ <input class="sui-btn sui-btn-silver sui-mg-top" type="button" value="修改密码">
+
+<!--可设置toggle属性,指定toggle时间。对应的方法:$('btnSelctor').toggle(time, callback)-->
+ <input class="sui-btn sui-btn-primary sui-mg-top" data-toggle="2000" type="button" value="toggle">
+```
##input
-
- <!---->
- <!--普通输入框-->
- <div class="sui-inp-cmp sui-mg-top">
- <div class="sui-inp-box">
- <input class="sui-inp" type="text" placeholder="6-20位数字" />
- </div>
- </div>
-
- <!--输入框带label-->
- <div class="sui-inp-cmp sui-mg-top">
- <div class="sui-inp-label">登录</div>
- <div class="sui-inp-box">
- <input class="sui-inp" type="text" placeholder="6-20位数字" />
- </div>
- </div>
-
- <!--输入框组-->
- <div class="sui-inp-group sui-mg-top">
- <div class="sui-inp-box">
- <input class="sui-inp" type="text" placeholder="6-20位数字" />
- </div>
- <div class="sui-inp-box">
- <input class="sui-inp" type="text" placeholder="6-20位数字" />
- </div>
- </div>
-
+```html
+<!---->
+<!--普通输入框-->
+ <div class="sui-inp-cmp sui-mg-top">
+ <div class="sui-inp-box">
+ <input class="sui-inp" type="text" placeholder="6-20位数字" />
+ </div>
+ </div>
+
+<!--输入框带label-->
+ <div class="sui-inp-cmp sui-mg-top">
+ <div class="sui-inp-label">登录</div>
+ <div class="sui-inp-box">
+ <input class="sui-inp" type="text" placeholder="6-20位数字" />
+ </div>
+ </div>
+
+<!--输入框组-->
+ <div class="sui-inp-group sui-mg-top">
+ <div class="sui-inp-box">
+ <input class="sui-inp" type="text" placeholder="6-20位数字" />
+ </div>
+ <div class="sui-inp-box">
+ <input class="sui-inp" type="text" placeholder="6-20位数字" />
+ </div>
+ </div>
+```
##popup box

0 comments on commit a63e96d

Please sign in to comment.