Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Set header to fixed, and give it a little shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
miftahafina committed Mar 18, 2020
1 parent b7898ff commit 99cafa3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Containers/App/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,16 @@ body {
}

.header {
position: fixed;
width: 100%;
flex: 0 0 48px;
box-sizing: border-box;
padding: 16px;
background-color: var(--secondary);
-webkit-box-shadow: -2px 4px 21px -2px rgba(0,0,0,0.75);
-moz-box-shadow: -2px 4px 21px -2px rgba(0,0,0,0.75);
box-shadow: -2px 4px 21px -2px rgba(0,0,0,0.75);


display: flex;
flex-direction: column;
Expand All @@ -56,7 +61,7 @@ body {
}

.content {
margin-top: 24px;
margin-top: 72px;
width: 100%;
flex: 1;
box-sizing: border-box;
Expand Down

0 comments on commit 99cafa3

Please sign in to comment.