| @@ -93,9 +93,9 @@ | ||
| 93 | 93 | height: 1px; |
| 94 | 94 | padding: 0; |
| 95 | 95 | margin: -1px; |
| 96 | 96 | overflow: hidden; |
| 97 | - clip: rect(0, 0, 0, 0); | |
| 97 | + clip-path: inset(50%); | |
| 98 | 98 | border: 0; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | /* Image fill for versions 8 and onwards */ |
| @@ -113,10 +113,9 @@ | ||
| 113 | 113 | .wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img { |
| 114 | 114 | position: absolute; |
| 115 | 115 | width: 100%; |
| 116 | 116 | height: 100%; |
| 117 | - -o-object-fit: cover; | |
| 118 | - object-fit: cover; | |
| 117 | + object-fit: cover; | |
| 119 | 118 | } |
| 120 | 119 | |
| 121 | 120 | /* |
| 122 | 121 | * Here we here not able to use a mobile first CSS approach. |