You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -84,11 +84,11 @@ <h2>Introduction</h2>
84
84
85
85
<p>snabbt.js is built to be fast. It will only animate things that modern browsers can animate <ahref="http://www.html5rocks.com/en/tutorials/speed/high-performance-animations/" target="_blank">cheaply:</a> transforms and opacity. The goal is to make a library that will let the user make smooth animations without needing to know too much about browser rendering.</p>
86
86
87
-
<p>Note: For convienience, width and height are animatable to, but be aware of those. They may cause page reflows and slow down your animations.</p>
87
+
<p>Note: For convenience, width and height are animatable too, but beware since they may cause page reflows and slow down your animations.</p>
88
88
89
89
<h4>Limitations</h4>
90
90
<ul>
91
-
<li>All transforms work on pixels or radians. Any unit conversion has to be done fore-hand.</li>
91
+
<li>All transforms work on pixels or radians. Any unit conversion has to be done beforehand.</li>
92
92
<li>No abritrary propery animations, e.g. colors, padding, margin or line height animations.</li>
93
93
<li>For performance reasons, snabbt.js never queries the DOM. This means that in some cases you need to store end transforms yourself.</li>
0 commit comments