Skip to content

Commit

Permalink
feat(breakpoints): added breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed Sep 8, 2021
1 parent 9b1baf1 commit 307e393
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Utils/breakpoints.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const size = {
xs: '375px',
sm: '768px',
lg: '1200px',
}
const devicemin = {
xs: `(min-width: ${size.xs})`,
sm: `(min-width: ${size.sm})`,
lg: `(min-width: ${size.lg})`
}
const devicemax = {
xs: `(max-width: ${size.xs})`,
sm: `(max-width: ${size.sm})`,
lg: `(max-width: ${size.lg})`
}

export default {devicemax, devicemin}

0 comments on commit 307e393

Please sign in to comment.