{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/membership-frontend/issues/201","labels_url":"https://api.github.com/repos/guardian/membership-frontend/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/guardian/membership-frontend/issues/201/comments","events_url":"https://api.github.com/repos/guardian/membership-frontend/issues/201/events","html_url":"https://github.com/guardian/membership-frontend/pull/201","id":57826420,"number":201,"title":"Add PostCSS/Autoprefixer","user":{"login":"davidrapson","id":123386,"avatar_url":"https://avatars.githubusercontent.com/u/123386?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrapson","html_url":"https://github.com/davidrapson","followers_url":"https://api.github.com/users/davidrapson/followers","following_url":"https://api.github.com/users/davidrapson/following{/other_user}","gists_url":"https://api.github.com/users/davidrapson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrapson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrapson/subscriptions","organizations_url":"https://api.github.com/users/davidrapson/orgs","repos_url":"https://api.github.com/users/davidrapson/repos","events_url":"https://api.github.com/users/davidrapson/events{/privacy}","received_events_url":"https://api.github.com/users/davidrapson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-02-16T16:43:06Z","updated_at":"2015-02-20T14:56:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/membership-frontend/pulls/201","html_url":"https://github.com/guardian/membership-frontend/pull/201","diff_url":"https://github.com/guardian/membership-frontend/pull/201.diff","patch_url":"https://github.com/guardian/membership-frontend/pull/201.patch"},"body":"Following on from conversations in PR https://github.com/guardian/membership-frontend/pull/104 and https://github.com/guardian/membership-frontend/pull/89 where we've been caught out by vendor prefixes, I've added [autoprefixer](https://github.com/postcss/autoprefixer) support to the Gruntfile.\r\n\r\nMain things autoprefixer does for out stylesheet:\r\n\r\n- Unnecessary prefixes from box-sizing, box-shadow and border-radius (can all be un-prefixed now)\r\n- Automatically outputs needed flex-box prefixes based on our target browsers.\r\n\r\nFlex-box is the one that needs the most consideration as it has the largest no. of prefixes.\r\n\r\nWe can configure the list of supported browsers but I've gone with: Browsers which have > 5% global usage, last 2 versions of all browsers and then explicitly included IE 9 and Safari 6.\r\n\r\nDiff showing pre vs. post autoprefixer on the main stylesheet here: https://gist.github.com/davidrapson/fde36036e383de093fb3"},"comment":{"url":"https://api.github.com/repos/guardian/membership-frontend/issues/comments/75250540","html_url":"https://github.com/guardian/membership-frontend/pull/201#issuecomment-75250540","issue_url":"https://api.github.com/repos/guardian/membership-frontend/issues/201","id":75250540,"user":{"login":"davidrapson","id":123386,"avatar_url":"https://avatars.githubusercontent.com/u/123386?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrapson","html_url":"https://github.com/davidrapson","followers_url":"https://api.github.com/users/davidrapson/followers","following_url":"https://api.github.com/users/davidrapson/following{/other_user}","gists_url":"https://api.github.com/users/davidrapson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrapson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrapson/subscriptions","organizations_url":"https://api.github.com/users/davidrapson/orgs","repos_url":"https://api.github.com/users/davidrapson/repos","events_url":"https://api.github.com/users/davidrapson/events{/privacy}","received_events_url":"https://api.github.com/users/davidrapson/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T14:56:29Z","updated_at":"2015-02-20T14:56:29Z","body":"@jamesoram In that case I think we are OK to leave it as is for now. As long as it's not different to PROD."}}