Answers for "how to use media queries in emotion"

0

how to use media queries in emotion

/** @jsx jsx */
import { jsx, css } from '@emotion/core'

render(
  <p
    css={css`
      font-size: 30px;
      @media (min-width: 420px) {
        font-size: 50px;
      }
    `}
  >
    Some text!
  </p>
)
Posted by: Guest on June-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language