This file contains hidden or 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
a.class-name { | |
display: inline-block; | |
margin-right: 1em; | |
text-decoration: none; | |
&:hover { | |
text-decoration: underline; | |
} | |
@media screen and (max-width: 1000px) { |
This file contains hidden or 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
.flex-box-example { | |
margin: 1rem 0; | |
padding: 0.75rem; | |
box-sizing: border-box; | |
background-color: gold; | |
display: flex; | |
flex-direction: row; | |
@media screen and (max-width: 1050px) { | |
flex-direction: column; |
This file contains hidden or 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
// Variable Declard in Globals | |
$line-item-breakpoint: 750px; | |
// cart_page.scss: | |
155 | |
156: @include max-width(get-width($line-item-breakpoint)) { | |
157 font-size: 1rem; | |
158 top: 1.5rem; | |
... |
This file contains hidden or 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
$screen-xs: 480px; | |
$screen-sm: 768px; | |
$screen-md: 992px; | |
$screen-lg: 1200px; |
This file contains hidden or 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
$breakpoint: 1020px; | |
@media screen and (max-width: $breakpoint) { | |
// Styles | |
} |
This file contains hidden or 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
%example { | |
padding: 0.75rem; | |
box-sizing: border-box; | |
@media screen and (min-width: 1201px) { | |
display: inline-block; | |
width: 50%; | |
} | |
} |
This file contains hidden or 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
div.example-left, | |
div.example-right { | |
padding: 0.75rem; | |
box-sizing: border-box; | |
} | |
div.example-left { | |
background: gold; | |
} |
This file contains hidden or 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
div.example-left, | |
div.example-right { | |
padding: 0.75rem; | |
box-sizing: border-box; | |
display: inline-block; | |
width: 50%; | |
} | |
div.example-left { | |
background: gold; |
This file contains hidden or 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
/* Default is pink, exception is indigo */ | |
.class-name { | |
background: pink; | |
} | |
@media screen and (max-width: 1200px) { | |
.class-name { | |
background: mediumSpringGreen; | |
} |
This file contains hidden or 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
<html> | |
<head> | |
<meta name=“viewport” content=“width=device-width, initial-scale=1”> | |
</head> | |
<body> | |
</body> | |
</html> |
NewerOlder