Skip to content

Instantly share code, notes, and snippets.

@dimaninc
dimaninc / breakpoints.js
Last active May 8, 2020 10:57
Styled components responsive technique
import { css } from 'styled-components';
const breakpoints = {
phone: 450,
tabletPortrait: 768,
laptopTiny: 920,
tabletLandscape: 1024,
mdpi: 1280,
hidpi: 1440,
};