-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementFor discussing possible improvementsFor discussing possible improvements
Description
What do you think to having classes such as l:hide & xs:show for showing and hiding elements at different breakpoints?
const createDisplayStyles = () =>
Object.keys(grid.breakpoints).reduce(
(mediaQueries, breakpoint) => ({
...mediaQueries,
[`@media screen and (min-width: ${grid.breakpoints[breakpoint]}px)`]: {
[`body .${breakpoint}\\:show`]: {
display: 'block',
},
[`.${breakpoint}\\:hide`]: {
display: 'none',
},
},
}),
{}
)
Metadata
Metadata
Assignees
Labels
enhancementFor discussing possible improvementsFor discussing possible improvements