Skip to content

Commit

Permalink
Fix demo page elements issues #10
Browse files Browse the repository at this point in the history
  • Loading branch information
hisk committed Dec 4, 2017
1 parent f7b16b4 commit 7b7bc17
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/extras/scss/shards-demo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
}

.inner-wrapper {
z-index: 1;
position: relative;
z-index: 3;

> p {
margin-bottom: 20px;
Expand All @@ -100,6 +101,8 @@
}

.product-by {
position: relative;
z-index: 3;
margin-bottom: 30px;

a:hover {
Expand All @@ -125,6 +128,7 @@
width: 50vw;
height: 80vh;
transform: rotate(-25deg);
z-index: 1;
}

&:before {
Expand Down Expand Up @@ -168,6 +172,7 @@
z-index: 1;
width: 280px;
animation: float 7s ease-in-out infinite;
z-index: 2;
}

// Floating animation
Expand Down Expand Up @@ -206,6 +211,7 @@
.color-wrapper {
float: left;
@include media-breakpoint-down(xs) {
float: none;
max-width: 230px;
margin: 0 auto;
}
Expand Down

0 comments on commit 7b7bc17

Please sign in to comment.