Skip to content

Commit 7b7bc17

Browse files
committed
Fix demo page elements issues DesignRevision#10
1 parent f7b16b4 commit 7b7bc17

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/extras/scss/shards-demo.scss

+7-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
}
8787

8888
.inner-wrapper {
89-
z-index: 1;
89+
position: relative;
90+
z-index: 3;
9091

9192
> p {
9293
margin-bottom: 20px;
@@ -100,6 +101,8 @@
100101
}
101102

102103
.product-by {
104+
position: relative;
105+
z-index: 3;
103106
margin-bottom: 30px;
104107

105108
a:hover {
@@ -125,6 +128,7 @@
125128
width: 50vw;
126129
height: 80vh;
127130
transform: rotate(-25deg);
131+
z-index: 1;
128132
}
129133

130134
&:before {
@@ -168,6 +172,7 @@
168172
z-index: 1;
169173
width: 280px;
170174
animation: float 7s ease-in-out infinite;
175+
z-index: 2;
171176
}
172177

173178
// Floating animation
@@ -206,6 +211,7 @@
206211
.color-wrapper {
207212
float: left;
208213
@include media-breakpoint-down(xs) {
214+
float: none;
209215
max-width: 230px;
210216
margin: 0 auto;
211217
}

0 commit comments

Comments
 (0)