-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Criação de arquivo breakpoints para adaptação da aplicação em diferen…
…tes telas (#74) * create breakpoints.scss * Update prepare-commit-msg --------- Co-authored-by: Alexandre Gomes <alecell.dev@gmail.com>
- Loading branch information
Showing
2 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,35 @@ | ||
$from1024SizeMin: 1024px; | ||
$extraSmallDeviceSizeMin: 20em; | ||
$smallDeviceSizeMin: 22.5em; | ||
$mediumDeviceSizeMin: 41.6875em; | ||
$largeDeviceSizeMin: 64em; | ||
$largestDeviceSizeMin: 80em; | ||
|
||
@mixin from1024() { | ||
@media (min-width: #{$from1024SizeMin}) { | ||
@mixin from320 { | ||
@media (min-width: $extraSmallDeviceSizeMin) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin from360 { | ||
@media (min-width: $smallDeviceSizeMin) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin from667 { | ||
@media (min-width: $mediumDeviceSizeMin) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin from1024 { | ||
@media (min-width: $largeDeviceSizeMin) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin from1280 { | ||
@media (min-width: $largestDeviceSizeMin) { | ||
@content; | ||
} | ||
} |