Skip to content

Commit

Permalink
fix: box-sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Aug 29, 2021
1 parent fa1a0ea commit 9c0a216
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
/*body, ul{padding:0px; margin:0px;}*/

*, *:before, *:after {
-webkit-border-sizing: border-box;
-moz-border-sizing: border-box;
border-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
boxr-sizing: border-box;
}
html {
scroll-behavior: smooth;
Expand Down
8 changes: 3 additions & 5 deletions src/css/navbar.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.nav, navbar {
width:100%;
z-index: 7;
will-change: transform;
transition: background 0.3s, -webkit-transform 0.5s cubic-bezier(0.694, 0.048, 0.335, 1);
Expand All @@ -12,11 +11,12 @@
.sticky-nav {
position: fixed;
top: 0;
transform: translateY(0% )!important;
-webkit-transform: translateY(0%) !important;
right: 0;
width:100%;
height: auto;
background: #fff;
transform: translateY(0% )!important;
-webkit-transform: translateY(0%) !important;
-moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
-webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
Expand All @@ -26,5 +26,3 @@
transform: translateY(-120% )!important;
-webkit-transform: translateY(-120%) !important;
}

/* CoCreate Navbar End */

0 comments on commit 9c0a216

Please sign in to comment.