Skip to content

Instantly share code, notes, and snippets.

Last active October 8, 2015 05:28
What would you like to do?
Serve IE Responsive Desktop Version
=respond-to($value, $query: min-width, $ie: false)
@media ($query: $value)
@if $ie
.ie &
// Sample Usage
width: 100%
+respond-to(40em, $ie: true)
width: 50%
<!doctype html>
<!--[if lte IE 8]><html lang="en" class="ie"><![endif]-->
<!--[if gt IE 8]><!-->
<html lang="en">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment