Skip to content

Instantly share code, notes, and snippets.

@eduardoboucas
Created February 11, 2017 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eduardoboucas/a7873cb294ff48c261a2611d4c522ca8 to your computer and use it in GitHub Desktop.
Save eduardoboucas/a7873cb294ff48c261a2611d4c522ca8 to your computer and use it in GitHub Desktop.
include-media — hidden classes

'At' sign

include-media — hidden classes

Get include-media here.

This plugin generates classes that can be used to hide elements (using display: none) at any specific breakpoint.

/* Hides an element on the "medium" breakpoint */
.hidden--for-medium {}

/* Hides an element from the "medium" breakpoint upwards */
.hidden--from-medium {}

/* Hides an element up until the "medium" breakpoint */
.hidden--to-medium {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment