Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is an extremely useful class for advanced CSS 3d animation. You can set the

[![alt text](http://edankwan.github.com/PerspectiveTransform.js/screenshot/001.jpg)](http://edankwan.github.com/PerspectiveTransform.js/)

##Usage##
## Usage ##
```js
// create PerspectiveTransfrom
var transform = new PerspectiveTransform(elem, width, height, useBackFacing);
Expand All @@ -22,7 +22,7 @@ This is an extremely useful class for advanced CSS 3d animation. You can set the
}
```

##Firefox on retina screen fix##
## Firefox on retina screen fix ##
```js
PerspectiveTransform.useDPRFix = true; // put true if you need to apply this fix

Expand All @@ -32,7 +32,7 @@ window.onresize = function(){
}
```

##Credit##
## Credit ##
The original PerspectiveTransform.js is created by Israel Pastrana
http://www.is-real.net/experiments/css3/wonder-webkit/js/real/display/PerspectiveTransform.js

Expand Down