styled-media

0.0.1 • Public • Published

💅 Styled-Media

Styled-Components media queries. Extracted from this

How to use

import media from 'styled-media'

const Container = styled.div`
  color: #333;
  ${media.desktop`padding: 0 20px;`}
  ${media.tablet`padding: 0 10px;`}
  ${media.phone`padding: 0 5px;`}

Readme

Keywords

none

Package Sidebar

Install

npm i styled-media

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • rohmanhm