superior-mq
css-in-js media queries
screen.below
Input:
@ screenbelow'480px' ` font-size: 1rem;`
screen.below
Output:
{
screen.above
Input:
@ screenabove'480px' ` font-size: 1rem;`
screen.above
Output:
{
screen.between
Input:
@ screen
screen.between
Output:
{
screen.belowHeight
Input:
@ screen
screen.belowHeight
Output:
{
screen.aboveHeight
Input:
@ screen
screen.aboveHeight
Output:
{
screen.betweenHeight
Input:
@ screen
screen.betweenHeight
Output:
{
With styled-components
;; const PageHeading = styledh1` font-size: 1.75rem; margin-bottom: .25rem; `;