mirror of
https://github.com/Nezumi-2711/html-css-practice-two.git
synced 2026-09-22 20:01:23 +00:00
Update code
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
.header {
|
||||
@include flex-container(space-between, $align-items: center);
|
||||
@include setAbsoluteAndLocation(
|
||||
$absolute: true,
|
||||
$top: 0,
|
||||
$right: 0,
|
||||
$left: 0
|
||||
);
|
||||
|
||||
max-width: 428px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
@include flex-container(true, space-between, $align-items: center);
|
||||
|
||||
position: relative;
|
||||
max-width: 428px;
|
||||
@@ -9,11 +21,15 @@
|
||||
}
|
||||
|
||||
.header-content {
|
||||
@include flex-container(space-between);
|
||||
@include flex-container(true, space-between);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 840px) {
|
||||
.header {
|
||||
max-width: $max-width;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
padding-top: 32px;
|
||||
padding-left: 70px;
|
||||
padding-right: 61px;
|
||||
|
||||
Reference in New Issue
Block a user