{"action":"opened","issue":{"url":"https://api.github.com/repos/google/material-design-icons/issues/249","labels_url":"https://api.github.com/repos/google/material-design-icons/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/google/material-design-icons/issues/249/comments","events_url":"https://api.github.com/repos/google/material-design-icons/issues/249/events","html_url":"https://github.com/google/material-design-icons/issues/249","id":118451811,"number":249,"title":"Developer Guide suggests invalid css.","user":{"login":"ericgundrum","id":1779578,"avatar_url":"https://avatars.githubusercontent.com/u/1779578?v=3","gravatar_id":"","url":"https://api.github.com/users/ericgundrum","html_url":"https://github.com/ericgundrum","followers_url":"https://api.github.com/users/ericgundrum/followers","following_url":"https://api.github.com/users/ericgundrum/following{/other_user}","gists_url":"https://api.github.com/users/ericgundrum/gists{/gist_id}","starred_url":"https://api.github.com/users/ericgundrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericgundrum/subscriptions","organizations_url":"https://api.github.com/users/ericgundrum/orgs","repos_url":"https://api.github.com/users/ericgundrum/repos","events_url":"https://api.github.com/users/ericgundrum/events{/privacy}","received_events_url":"https://api.github.com/users/ericgundrum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-23T19:17:33Z","updated_at":"2015-11-23T19:17:33Z","closed_at":null,"body":"In the [developer guide](http://google.github.io/material-design-icons/) section on _Styling icons in material design_, the guide includes a code block containing suggested CSS of the form\r\n```\r\n// Rules for sizing the icon.\r\n.material-icons.md-18 { font-size: 18px; }\r\n.material-icons.md-24 { font-size: 24px; }\r\n```\r\nThe code comments in this CSS are invalid syntax. (See [section 4.1.9 of the spec](http://www.w3.org/TR/CSS2/syndata.html#comments).) A reader who naively pastes this suggested CSS into their site may become frustrated at not understanding why the CSS rules are ignored.\r\n\r\nThis problem is solved by changing the comments to the form\r\n```\r\n/* Rules for sizing the icon. */\r\n.material-icons.md-18 { font-size: 18px; }\r\n.material-icons.md-24 { font-size: 24px; }\r\n```\r\n"}}