DoSomething / forge

🎨 The DoSomething.org pattern library.
http://forge.dosomething.org
MIT License
48 stars 14 forks source link

Adding helper classes for breakpoint display #468

Closed sbsmith86 closed 9 years ago

sbsmith86 commented 9 years ago

Added some helper classes we can use to display things at specific breakpoints. I added most of the ones that I think would be more common.

@DFurnes @weerd

DFurnes commented 9 years ago

Yaaaas! :boat: :boat: :boat:

weerd commented 9 years ago

Maybe as a future upgrade these could be classes that refer to a mixin... cause say we want to .show-at-medium, but instead of display: block we need to have it display: table or display: inline-block. It could be a mixin that defaults to display: block, but we can pass another type of display value if needed? Thoughts?

sbsmith86 commented 9 years ago

@weerd interesting, is it better that way instead of just overriding the class as we need?

DFurnes commented 9 years ago

Another option is just to adjust the media queries to only target the places we want to display: none, rather than writing the classes mobile-first.

weerd commented 9 years ago

Let's pop this through for now to get the ball rolling, but we should come back and ponder some more. :dancers:

sbsmith86 commented 9 years ago

:+1: