Skip to content

Instantly share code, notes, and snippets.

@dara
Forked from brentvatne/gist:1218364
Last active December 20, 2015 02:09
Show Gist options
  • Save dara/6054665 to your computer and use it in GitHub Desktop.
Save dara/6054665 to your computer and use it in GitHub Desktop.
//using the technique from: http://colinaarts.com/articles/inline-block-and-you/
@mixin cross-browser-inline-block {
display: inline-block; /* For normal, healthy browsers */
* html & { /* for IE6 */
display: inline;
}
*+html & { /* for IE7 */
display: inline;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment