{"action":"created","issue":{"url":"https://api.github.com/repos/nnattawat/flip/issues/22","labels_url":"https://api.github.com/repos/nnattawat/flip/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/nnattawat/flip/issues/22/comments","events_url":"https://api.github.com/repos/nnattawat/flip/issues/22/events","html_url":"https://github.com/nnattawat/flip/pull/22","id":91922008,"number":22,"title":"Reduce scope of CSS transition:","user":{"login":"jeshuamaxey","id":2297823,"avatar_url":"https://avatars.githubusercontent.com/u/2297823?v=3","gravatar_id":"","url":"https://api.github.com/users/jeshuamaxey","html_url":"https://github.com/jeshuamaxey","followers_url":"https://api.github.com/users/jeshuamaxey/followers","following_url":"https://api.github.com/users/jeshuamaxey/following{/other_user}","gists_url":"https://api.github.com/users/jeshuamaxey/gists{/gist_id}","starred_url":"https://api.github.com/users/jeshuamaxey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeshuamaxey/subscriptions","organizations_url":"https://api.github.com/users/jeshuamaxey/orgs","repos_url":"https://api.github.com/users/jeshuamaxey/repos","events_url":"https://api.github.com/users/jeshuamaxey/events{/privacy}","received_events_url":"https://api.github.com/users/jeshuamaxey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T22:13:46Z","updated_at":"2015-07-14T05:39:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nnattawat/flip/pulls/22","html_url":"https://github.com/nnattawat/flip/pull/22","diff_url":"https://github.com/nnattawat/flip/pull/22.diff","patch_url":"https://github.com/nnattawat/flip/pull/22.patch"},"body":"I found that when I dynamically set a property of either `.front` or `.back` (in my case the background image and position), these would be animated on page load which I did not want. I traced the cause to [this line](https://github.com/nnattawat/flip/blob/master/src/flip.js#L74) in the source. The CSS transition is set for all properties on both divs.\r\n\r\nThis pull request reduces the scope of that transition to only the properties the library is concerned with animating. The rest is left for the user to style and animate as they wish."},"comment":{"url":"https://api.github.com/repos/nnattawat/flip/issues/comments/121137101","html_url":"https://github.com/nnattawat/flip/pull/22#issuecomment-121137101","issue_url":"https://api.github.com/repos/nnattawat/flip/issues/22","id":121137101,"user":{"login":"JemarJones","id":6874590,"avatar_url":"https://avatars.githubusercontent.com/u/6874590?v=3","gravatar_id":"","url":"https://api.github.com/users/JemarJones","html_url":"https://github.com/JemarJones","followers_url":"https://api.github.com/users/JemarJones/followers","following_url":"https://api.github.com/users/JemarJones/following{/other_user}","gists_url":"https://api.github.com/users/JemarJones/gists{/gist_id}","starred_url":"https://api.github.com/users/JemarJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JemarJones/subscriptions","organizations_url":"https://api.github.com/users/JemarJones/orgs","repos_url":"https://api.github.com/users/JemarJones/repos","events_url":"https://api.github.com/users/JemarJones/events{/privacy}","received_events_url":"https://api.github.com/users/JemarJones/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T05:39:42Z","updated_at":"2015-07-14T05:39:42Z","body":"Could you show the issue in a jsfiddle and also one for your solution?"}}