@@ -328,6 +328,7 @@ body {
328
328
position : absolute;
329
329
top : 0 ;
330
330
left : 0 ;
331
+ -webkit-backface-visibility : hidden;
331
332
backface-visibility : hidden;
332
333
width : 100% ;
333
334
border-radius : 3px ;
@@ -461,13 +462,17 @@ body {
461
462
height : 15rem ;
462
463
width : 15rem ;
463
464
float : left;
464
- -webkit-shape-outside : circle (50% at 50% 50% );
465
- shape-outside : circle (50% at 50% 50% );
466
- -webkit-clip-path : circle (50% at 50% 50% );
467
- clip-path : circle (50% at 50% 50% );
468
465
transform : translateX (-3rem ) skewX (12deg );
469
466
position : relative;
470
- overflow : hidden; }
467
+ overflow : hidden;
468
+ border-radius : 50% ; }
469
+ @supports (clip-path : polygon (0 0 )) or (-webkit-clip-path : polygon (0 0 )) {
470
+ .story__shape {
471
+ -webkit-clip-path : circle (50% at 50% 50% );
472
+ clip-path : circle (50% at 50% 50% );
473
+ -webkit-shape-outside : circle (50% at 50% 50% );
474
+ shape-outside : circle (50% at 50% 50% );
475
+ border-radius : none; } }
471
476
@media (max-width : 37.5em ) {
472
477
.story__shape {
473
478
transform : translateX (-3rem ) skewX (0 ); } }
@@ -608,6 +613,11 @@ body {
608
613
opacity : 0 ;
609
614
visibility : hidden;
610
615
transition : all .3s ; }
616
+ @supports (-webkit-backdrop-filter : blur (10px )) or (backdrop-filter : blur (10px )) {
617
+ .popup {
618
+ -webkit-backdrop-filter : blur (10px );
619
+ backdrop-filter : blur (10px );
620
+ background-color : rgba (51 , 51 , 51 , 0.3 ); } }
611
621
.popup__content {
612
622
position : absolute;
613
623
top : 50% ;
@@ -829,16 +839,19 @@ body {
829
839
transform : rotate (-135deg ); }
830
840
831
841
.header {
832
- height : 95 vh ;
842
+ height : 85 vh ;
833
843
background-image : linear-gradient (to right bottom, rgba (126 , 213 , 111 , 0.8 ), rgba (40 , 180 , 133 , 0.8 )), url(../ img/hero-small.jpg);
834
844
background-size : cover;
835
845
background-position : top;
836
- position : relative;
837
- -webkit-clip-path : polygon (0 0 , 100% 0 , 100% 75vh , 0 100% );
838
- clip-path : polygon (0 0 , 100% 0 , 100% 75vh , 0 100% ); }
839
- @media (min-resolution : 192dpi ) and (min-width : 37.5em ), (min-width : 125em ) {
846
+ position : relative; }
847
+ @supports (clip-path : polygon (0 0 )) or (-webkit-clip-path : polygon (0 0 )) {
848
+ .header {
849
+ -webkit-clip-path : polygon (0 0 , 100% 0 , 100% 75vh , 0 100% );
850
+ clip-path : polygon (0 0 , 100% 0 , 100% 75vh , 0 100% );
851
+ height : 95vh ; } }
852
+ @media (min-resolution : 192dpi ) and (min-width : 37.5em ), (-webkit-min-device-pixel-ratio : 2 ) and (min-width : 37.5em ), (min-width : 125em ) {
840
853
.header {
841
- background-image : linear-gradient (to right bottom, rgba (255 , 185 , 0 , 0.8 ), rgba (255 , 119 , 48 , 0.8 )), url(../ img/hero.jpg); } }
854
+ background-image : linear-gradient (to right bottom, rgba (126 , 213 , 111 , 0.8 ), rgba (40 , 180 , 133 , 0.8 )), url(../ img/hero.jpg); } }
842
855
@media (max-width : 37.5em ) {
843
856
.header {
844
857
-webkit-clip-path : polygon (0 0 , 100% 0 , 100% 85vh , 0 100% );
0 commit comments