Skip to content

Instantly share code, notes, and snippets.



Created Dec 17, 2018
What would you like to do?
Why we use CSS-in-JS 5
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