Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
lib to add responsive css-in-js
import styled from 'react-emotion'
import { rescss } from 'rescss'
const mq = resprops([
'@media(min-width: 420px)',
'@media(min-width: 920px)',
'@media(min-width: 1120px)'
const Text = styled('div')`
font-size: ${mq('10px', '14px', '18px')};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.