Skip to content

Commit 92cdabd

Browse files
Use some SVGs instead of webp
1 parent 8f307d2 commit 92cdabd

20 files changed

+813
-773
lines changed

css/style.css

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -292,17 +292,17 @@ h5, .h5 {
292292
left: 0;
293293
right: 0;
294294
mask-image:
295-
url(../img/blob-top-left.webp),
296-
url(../img/blob-top-right.webp),
297-
url(../img/blob-bottom-left.webp),
298-
url(../img/blob-bottom-right.webp),
299-
url(../img/blob-center.webp);
295+
url(../img/blob-top-left.svg),
296+
url(../img/blob-top-right.svg),
297+
url(../img/blob-bottom-left.svg),
298+
url(../img/blob-bottom-right.svg),
299+
url(../img/blob-center.svg);
300300
-webkit-mask-image:
301-
url(../img/blob-top-left.webp),
302-
url(../img/blob-top-right.webp),
303-
url(../img/blob-bottom-left.webp),
304-
url(../img/blob-bottom-right.webp),
305-
url(../img/blob-center.webp);
301+
url(../img/blob-top-left.svg),
302+
url(../img/blob-top-right.svg),
303+
url(../img/blob-bottom-left.svg),
304+
url(../img/blob-bottom-right.svg),
305+
url(../img/blob-center.svg);
306306
mask-position:
307307
left 0px top 0px,
308308
right 0px top 0px,
@@ -328,8 +328,8 @@ h5, .h5 {
328328
bottom: 0;
329329
left: 0;
330330
right: 0;
331-
mask-image: url(../img/bg-bottom.webp);
332-
-webkit-mask-image: url(../img/bg-bottom.webp);
331+
mask-image: url(../img/bg-bottom.svg);
332+
-webkit-mask-image: url(../img/bg-bottom.svg);
333333
mask-repeat: no-repeat;
334334
-webkit-mask-repeat: no-repeat;
335335
mask-position: bottom;
@@ -424,17 +424,17 @@ h5, .h5 {
424424
left: 0;
425425
right: 0;
426426
mask-image:
427-
url(../img/blob-top-left.webp),
428-
url(../img/blob-top-right.webp),
429-
url(../img/blob-bottom-left.webp),
430-
url(../img/blob-bottom-right.webp),
431-
url(../img/blob-center.webp);
427+
url(../img/blob-top-left.svg),
428+
url(../img/blob-top-right.svg),
429+
url(../img/blob-bottom-left.svg),
430+
url(../img/blob-bottom-right.svg),
431+
url(../img/blob-center.svg);
432432
-webkit-mask-image:
433-
url(../img/blob-top-left.webp),
434-
url(../img/blob-top-right.webp),
435-
url(../img/blob-bottom-left.webp),
436-
url(../img/blob-bottom-right.webp),
437-
url(../img/blob-center.webp);
433+
url(../img/blob-top-left.svg),
434+
url(../img/blob-top-right.svg),
435+
url(../img/blob-bottom-left.svg),
436+
url(../img/blob-bottom-right.svg),
437+
url(../img/blob-center.svg);
438438
mask-position:
439439
left 0px top 0px,
440440
right 0px top 0px,
@@ -476,14 +476,14 @@ h5, .h5 {
476476
align-items: center;
477477
justify-content: center;
478478
color: var(--light);
479-
background: url(../img/blob-primary.webp) center center no-repeat;
479+
background: url(../img/blob-primary.svg) center center no-repeat;
480480
background-size: contain;
481481
transition: .5s;
482482
}
483483

484484
.service-item:hover .service-icon {
485485
color: var(--dark);
486-
background: url(../img/blob-secondary.webp) center center no-repeat;
486+
background: url(../img/blob-secondary.svg) center center no-repeat;
487487
background-size: contain;
488488
}
489489

@@ -553,8 +553,8 @@ h5, .h5 {
553553
bottom: 0;
554554
left: 0;
555555
right: 0;
556-
mask-image: url(../img/bg-top.webp);
557-
-webkit-mask-image: url(../img/bg-top.webp);
556+
mask-image: url(../img/bg-top.svg);
557+
-webkit-mask-image: url(../img/bg-top.svg);
558558
mask-repeat: no-repeat;
559559
-webkit-mask-repeat: no-repeat;
560560
mask-position: top;

img/bg-bottom.svg

Lines changed: 4 additions & 0 deletions
Loading

img/bg-bottom.webp

-3.64 KB
Binary file not shown.

img/bg-top.svg

Lines changed: 4 additions & 0 deletions
Loading

img/bg-top.webp

-3.76 KB
Binary file not shown.

img/blob-bottom-left.svg

Lines changed: 4 additions & 0 deletions
Loading

img/blob-bottom-left.webp

-474 Bytes
Binary file not shown.

img/blob-bottom-right.svg

Lines changed: 4 additions & 0 deletions
Loading

img/blob-bottom-right.webp

-568 Bytes
Binary file not shown.

img/blob-center.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)