Created
December 17, 2018 21:15
-
-
Save Saifadin/2156d4f849f36acdb939c89b54a5110f to your computer and use it in GitHub Desktop.
Why we use CSS-in-JS 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const Panel = styled('div')` | |
max-width: 1200px; | |
width: 100%; | |
margin-bottom: ${({ theme: { spacing } }) => spacing}px; | |
@media screen and (max-width: 768px) { | |
max-width: 400px; | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment