mqcss
Introduction
mqcss
is a media query helper.
Installation
npm install mqcss --save
yarn add mqcss
Usage
Play with it here
Example
// styled-components// Different border on mobile & tableconst Wrapper = styleddiv` border: 1px solid black; padding: ; > * { margin: 0 5px; } { border: 1px solid red; } { border: 1px solid blue; }`// jss// smaller font size on mobileconst styles = button: fontSize: 12 onMobile: fontSize: 8 const classes = jss