Optimised images

This commit is contained in:
Venkata Chandrasekhar Nainala 2018-03-12 09:14:23 +00:00
parent de95e785a3
commit bcea9e1e78
9 changed files with 5 additions and 5 deletions

BIN
src/img/about-side.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 888 KiB

BIN
src/img/bg-image.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 KiB

BIN
src/img/sprite-2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 971 KiB

BIN
src/img/sprite.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 KiB

View File

@ -136,7 +136,7 @@ header{
}
.wrapper{
background-image: url("../img/bg-image.png");
background-image: url("../img/bg-image.jpg");
background-repeat: no-repeat;
background-position: top right;
background-attachment: fixed;
@ -149,8 +149,8 @@ header{
}
.wrapper.hide {
-webkit-mask: url(../img/sprite.png);
mask: url(../img/sprite.png);
-webkit-mask: url(../img/sprite.gif);
mask: url(../img/sprite.gif);
-webkit-mask-size: 7500% 100%;
mask-size: 7500% 100%;
-webkit-animation: mask-play 1.5s steps(74) forwards;
@ -221,7 +221,7 @@ header{
}
.about-wrapper{
background-image: url("../img/about-side.png");
background-image: url("../img/about-side.jpg");
background-repeat: no-repeat;
background-position: top left;
background-size: 50% auto;
@ -245,7 +245,7 @@ header{
}
.side-image{
background-image: url("../img/about-side.png");
background-image: url("../img/about-side.jpg");
background-size: 100% auto;
background-repeat: no-repeat;
}