Skip to content

Instantly share code, notes, and snippets.

@wangzhe1995 wangzhe1995/less
Created Jul 13, 2015

Embed
What would you like to do?
666的Less代码
.desktop-and-old-ie(@rules) {
@media screen and (min-width: 1200) { @rules(); }
html.lt-ie9 & { @rules(); }
}
header {
background-color: blue;
.desktop-and-old-ie({
background-color: red;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.