{"action":"created","issue":{"url":"https://api.github.com/repos/peterchon/mimic/issues/1","labels_url":"https://api.github.com/repos/peterchon/mimic/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/peterchon/mimic/issues/1/comments","events_url":"https://api.github.com/repos/peterchon/mimic/issues/1/events","html_url":"https://github.com/peterchon/mimic/issues/1","id":105342377,"number":1,"title":"Different between mimic's `class` and `style` fields?","user":{"login":"mjurczyk","id":9549760,"avatar_url":"https://avatars.githubusercontent.com/u/9549760?v=3","gravatar_id":"","url":"https://api.github.com/users/mjurczyk","html_url":"https://github.com/mjurczyk","followers_url":"https://api.github.com/users/mjurczyk/followers","following_url":"https://api.github.com/users/mjurczyk/following{/other_user}","gists_url":"https://api.github.com/users/mjurczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mjurczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjurczyk/subscriptions","organizations_url":"https://api.github.com/users/mjurczyk/orgs","repos_url":"https://api.github.com/users/mjurczyk/repos","events_url":"https://api.github.com/users/mjurczyk/events{/privacy}","received_events_url":"https://api.github.com/users/mjurczyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T09:49:23Z","updated_at":"2015-09-08T10:18:56Z","closed_at":null,"body":"```\r\nAfter going through the same insanity over and over again, I started to think \"Why not use CSS property name as my class name?\" Sure it's little more work, but I'll always be able to control the style by just adding or removing a class name. Plus, I don't have to keep coming up with class names that makes sense.\r\n```\r\n\r\nWhat is exactly the difference between this (in mimic):\r\n\r\n```html\r\n<p class=\"margin-top:20 padding:10 bg-color:black border-radius:5 color:white align:right\">Can you guess how I would render?</p>\r\n```\r\n\r\nAnd native `style` field:\r\n\r\n```html\r\n<p style=\"margin-top:20px; padding:10px; background-color:black; border-radius:5px; color:white; align:right\">Can you guess how I would render?</p>\r\n```\r\n\r\nDoes it provide any advantage, or did I completely miss the point :P ? "},"comment":{"url":"https://api.github.com/repos/peterchon/mimic/issues/comments/138506031","html_url":"https://github.com/peterchon/mimic/issues/1#issuecomment-138506031","issue_url":"https://api.github.com/repos/peterchon/mimic/issues/1","id":138506031,"user":{"login":"zenry","id":1230555,"avatar_url":"https://avatars.githubusercontent.com/u/1230555?v=3","gravatar_id":"","url":"https://api.github.com/users/zenry","html_url":"https://github.com/zenry","followers_url":"https://api.github.com/users/zenry/followers","following_url":"https://api.github.com/users/zenry/following{/other_user}","gists_url":"https://api.github.com/users/zenry/gists{/gist_id}","starred_url":"https://api.github.com/users/zenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenry/subscriptions","organizations_url":"https://api.github.com/users/zenry/orgs","repos_url":"https://api.github.com/users/zenry/repos","events_url":"https://api.github.com/users/zenry/events{/privacy}","received_events_url":"https://api.github.com/users/zenry/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T10:18:56Z","updated_at":"2015-09-08T10:18:56Z","body":"```\r\n<p class=\"margin-top:20\"></p>\r\n```\r\n\r\nthis doesn't have to mean 20px, it can be 20em, 20rem or anything else"}}