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',
},
},
}),
{}
)
What do you think to having classes such as
l:hide&xs:showfor showing and hiding elements at different breakpoints?