File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -167,11 +167,11 @@ Stripe Styles
167167 content : '' ;
168168 position : absolute;
169169 width : 100% ;
170- height : 100 % ;
170+ height : 65 % ;
171171 top : 0 ;
172172 left : 0 ;
173173 background : url(./ images/hero.svg);
174- background-size : contain ;
174+ background-size : cover ;
175175 background-repeat : no-repeat;
176176 z-index : -1 ;
177177}
@@ -243,9 +243,14 @@ Stripe Styles
243243
244244/* hero media query */
245245@media screen and (min-width : 800px ) {
246+ .hero ::before {
247+ background-size : contain;
248+ height : 100% ;
249+ }
246250 .hero-center {
247251 grid-template-columns : 2fr 1fr ;
248252 align-items : end;
253+
249254 padding-bottom : 5vh ;
250255 }
251256
@@ -261,11 +266,17 @@ Stripe Styles
261266 }
262267 .phone-img {
263268 width : 10rem ;
264- padding-bottom : 10vh ;
265269 }
266270}
271+ @media screen and (min-width : 992px ) {
272+ .phone-img {
273+ width : 11rem ;
274+ }
275+ }
276+
267277@media screen and (min-width : 1200px ) {
268278 .hero-center {
279+ grid-template-columns : 1fr 1fr ;
269280 padding-bottom : 15vh ;
270281 }
271282 .hero-info h1 {
@@ -276,7 +287,7 @@ Stripe Styles
276287 align-self : end;
277288 }
278289 .phone-img {
279- width : 15 rem ;
290+ width : 20 rem ;
280291 }
281292}
282293/* sidebar */
You can’t perform that action at this time.
0 commit comments