Skip to content

Commit

Permalink
Mobile Navbar
Browse files Browse the repository at this point in the history
Menu 50%
  • Loading branch information
roynaldoktaviano committed Mar 3, 2021
1 parent e9c0021 commit 46ebc03
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 1 deletion.
30 changes: 30 additions & 0 deletions app/scss/_header.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
.header {

.mobile-menu {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: $veryDarkViolet;
background-image: url(../../images/bg-pattern-mobile-nav.svg);
background-position: center bottom;
background-repeat: no-repeat;
background-size: contain;

.mobile-link {
position: relative;
top: 6.25rem;
text-align: center;

a{
display: block;
color: $veryLightGray;
font-weight: 700;
margin-bottom: 2.1875rem;
font-size: 1.125rem;
letter-spacing: 2px;
}
}
}

nav {
position: relative;
padding-top: 0.9375rem;
padding-bottom: 0.9375rem;
background-color: $veryLightGray;
}

&-hamburger {
Expand Down
29 changes: 29 additions & 0 deletions dist/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
<body>
<!-- START : Header -->
<header class="header">
<div class="mobile-menu">
<div class="mobile-link">
<a href="#">HOW WE WORK</a>
<a href="#">BLOG</a>
<a href="#">ACCOUNT</a>
</div>
</div>
<nav class="flex flex-jc-sb flex-ai-c container container-px">
<a href="#">
<img src="./images/logo.svg" alt="">
Expand Down

0 comments on commit 46ebc03

Please sign in to comment.