Skip to content

Commit

Permalink
Optimize style
Browse files Browse the repository at this point in the history
  • Loading branch information
artpolikarpov committed Apr 24, 2013
1 parent 9414cb9 commit b24acfb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
20 changes: 0 additions & 20 deletions scrollyeah/scrollyeah.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,6 @@
cursor: grabbing;
}

.scrollyeah_csstransitions .scrollyeah__shaft, .scrollyeah_csstransitions .scrollyeah__parallax {
-webkit-transition-property: -webkit-transform;
-moz-transition-property: -moz-transform;
-o-transition-property: -o-transform;
transition-property: transform;
-webkit-transition-duration: 0;
-moz-transition-duration: 0;
-o-transition-duration: 0;
transition-duration: 0;
-webkit-transition-timing-function: cubic-bezier(0.1, 0, 0.25, 1);
-moz-transition-timing-function: cubic-bezier(0.1, 0, 0.25, 1);
-o-transition-timing-function: cubic-bezier(0.1, 0, 0.25, 1);
transition-timing-function: cubic-bezier(0.1, 0, 0.25, 1);
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0);
}

.scrollyeah__shadow {
display: block;
position: absolute;
Expand Down
7 changes: 0 additions & 7 deletions src/scrollyeah.sass
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ $transitionDuration: 333ms
cursor: -ms-grabbing
cursor: grabbing

.scrollyeah_csstransitions
.scrollyeah__shaft, .scrollyeah__parallax
+transition-property(transform)
+transition-duration(0)
+transition-timing-function($bezier)
+transform(translate(0, 0))

$shadowSize: 10px

.scrollyeah__shadow
Expand Down

0 comments on commit b24acfb

Please sign in to comment.