Skip to content

Instantly share code, notes, and snippets.

@pguillory
Last active Dec 11, 2015
Embed
What would you like to do?
.nav-item {
&:nth-child(1) {
@media {min-width: 200px) {
display: none;
}
}
&:nth-child(2) {
@media {min-width: 250px) {
display: none;
}
}
/* etc */
}
.menu-item {
&:nth-child(1) {
@media {max-width: 199px) {
display: none;
}
}
&:nth-child(2) {
@media {max-width: 249px) {
display: none;
}
}
/* etc */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment