{"action":"created","issue":{"url":"https://api.github.com/repos/japgolly/scalacss/issues/61","labels_url":"https://api.github.com/repos/japgolly/scalacss/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/japgolly/scalacss/issues/61/comments","events_url":"https://api.github.com/repos/japgolly/scalacss/issues/61/events","html_url":"https://github.com/japgolly/scalacss/issues/61","id":111504088,"number":61,"title":"Unable to select multiple elements with \"nth\" pseudoselectors","user":{"login":"andrewjstalker","id":2999006,"avatar_url":"https://avatars.githubusercontent.com/u/2999006?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewjstalker","html_url":"https://github.com/andrewjstalker","followers_url":"https://api.github.com/users/andrewjstalker/followers","following_url":"https://api.github.com/users/andrewjstalker/following{/other_user}","gists_url":"https://api.github.com/users/andrewjstalker/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewjstalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewjstalker/subscriptions","organizations_url":"https://api.github.com/users/andrewjstalker/orgs","repos_url":"https://api.github.com/users/andrewjstalker/repos","events_url":"https://api.github.com/users/andrewjstalker/events{/privacy}","received_events_url":"https://api.github.com/users/andrewjstalker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T22:08:04Z","updated_at":"2016-01-08T00:59:10Z","closed_at":"2016-01-08T00:59:10Z","body":"Currently only accepts an Int value:\r\n```scala\r\n  final case class NthChild(n: Int) extends Pseudo1(s\":nth-child($n)\", PseudoClass)\r\n  final case class NthLastChild(n: Int) extends Pseudo1(s\":nth-last-child($n)\", PseudoClass)\r\n  final case class NthLastOfType(n: Int) extends Pseudo1(s\":nth-last-of-type($n)\", PseudoClass)\r\n  final case class NthOfType(n: Int) extends Pseudo1(s\":nth-of-type($n)\", PseudoClass)\r\n```\r\n\r\nThis makes it impossible to select more than one element at a time. Example: http://codepen.io/zakkain/pen/Aqzip\r\n\r\n```css\r\n.one li:nth-of-type(1) {\r\n  background: lightsteelblue;\r\n}\r\n\r\n.two li:nth-of-type(odd) {\r\n  background: lightsteelblue;\r\n}\r\n\r\n.three li:nth-of-type(3n+2) {\r\n  background: lightsteelblue;\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/japgolly/scalacss/issues/comments/169855274","html_url":"https://github.com/japgolly/scalacss/issues/61#issuecomment-169855274","issue_url":"https://api.github.com/repos/japgolly/scalacss/issues/61","id":169855274,"user":{"login":"japgolly","id":202935,"avatar_url":"https://avatars.githubusercontent.com/u/202935?v=3","gravatar_id":"","url":"https://api.github.com/users/japgolly","html_url":"https://github.com/japgolly","followers_url":"https://api.github.com/users/japgolly/followers","following_url":"https://api.github.com/users/japgolly/following{/other_user}","gists_url":"https://api.github.com/users/japgolly/gists{/gist_id}","starred_url":"https://api.github.com/users/japgolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japgolly/subscriptions","organizations_url":"https://api.github.com/users/japgolly/orgs","repos_url":"https://api.github.com/users/japgolly/repos","events_url":"https://api.github.com/users/japgolly/events{/privacy}","received_events_url":"https://api.github.com/users/japgolly/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T00:59:10Z","updated_at":"2016-01-08T00:59:10Z","body":"Fixed via cb0422dfa18acffd2feea4d306561bfeecdbf824"}}