소스 검색

added GPU acceleration on switch animation

Emanuele Marchi 11 년 전
부모
커밋
70e6c2f183
4개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      build/css/bootstrap3/bootstrap-switch.css
  2. 0 0
      build/css/bootstrap3/bootstrap-switch.min.css
  3. 1 1
      index.html
  4. 1 0
      src/less/bootstrap3/bootstrap-switch.less

+ 2 - 0
build/css/bootstrap3/bootstrap-switch.css

@@ -108,6 +108,8 @@
   width: 150%;
   position: relative;
   top: 0;
+  -webkit-transform: translate3d(0, 0, 0);
+  transform: translate3d(0, 0, 0);
 }
 .has-switch input[type=radio],
 .has-switch input[type=checkbox] {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
build/css/bootstrap3/bootstrap-switch.min.css


+ 1 - 1
index.html

@@ -3,7 +3,7 @@
   <head>
     <meta charset="utf-8">
     <title>Bootstrap Switch by Mattia Larentis and Peter Stein</title>
-    <meta name="description" content="Switches for radio buttons and checkboxes">
+    <meta name="description" content="Turn checkboxes and radio buttons in toggle switches.">
     <meta name="author" content="Mattia Larentis">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <link rel="stylesheet" href="docs/vendor/bootstrap.min.css" />

+ 1 - 0
src/less/bootstrap3/bootstrap-switch.less

@@ -99,6 +99,7 @@
     width: 150%;
     position: relative;
     top: 0;
+    .translate3d(0, 0, 0);
   }
 
   input[type=radio],

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.