Skip to content

Instantly share code, notes, and snippets.

@alexcabrera
Created March 23, 2010 17:59
Show Gist options
  • Save alexcabrera/341470 to your computer and use it in GitHub Desktop.
Save alexcabrera/341470 to your computer and use it in GitHub Desktop.
Why, oh why, won't Microsoft implement nth-child in goddamn IE
// wouldn't this be lovely
#policus_services_descriptions
+column(8)
+last
.headline
+slug_text
:color #{!dark_gray}
.service_description
+column(4)
:height 300px
&nth-child(2n+1)
+last
.service_heading
:display inline-block
+section_text
:color #{!policus_red}
// but no, Microsoft is too busy adding stupid fucking ribbons to their interfaces; so I'm forced to do this
#policus_services_descriptions
+column(8)
+last
.headline
+slug_text
:color #{!dark_gray}
.service_description
+column(4)
:height 300px
.service_heading
:display inline-block
+section_text
:color #{!policus_red}
#development_service_description, #strategy_service_description
+last
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment