Skip to content

Commit

Permalink
Live Preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev-Tarek committed Jun 24, 2021
1 parent 500419e commit d570f7f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Vanilla JS Landing Page with SVG Animations
[Open Live Preview](https://dev-tarek.github.io/vanilla-animated-landing/)
![](images/preview.png)
___
## Contents
Expand Down
4 changes: 2 additions & 2 deletions css/components/SVG.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ svg {
height: 100%;
background-color: white;

mask-image: url('/images/masks/mask1.png'), url('/images/masks/mask2.png');
mask-image: url('../../images/masks/mask1.png'), url('../../images/masks/mask2.png');
mask-repeat: no-repeat, no-repeat;
mask-position: -1000px 100px, 0px 300px;
mask-size: cover;

-webkit-mask-image: url('/images/masks/mask1.png'), url('/images/masks/mask2.png');
-webkit-mask-image: url('../../images/masks/mask1.png'), url('../../images/masks/mask2.png');
-webkit-mask-repeat: no-repeat, no-repeat;
-webkit-mask-position: -1000px 100px, 0px 300px;
-webkit-mask-size: cover;
Expand Down
6 changes: 3 additions & 3 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ body {
.back-div {
width: 100%;
height: 100%;
background-image: url('images/desert.jpg');
background-image: url('../images/desert.jpg');
background-repeat: no-repeat;
background-size: cover;
}
Expand All @@ -24,11 +24,11 @@ body {
height: 100%;
width: 100%;
background-color: #c7a07c;
mask-image: url('images/masks/maskOverlayL.png'), url('images/masks/maskOverlayR.png');
mask-image: url('../images/masks/maskOverlayL.png'), url('../images/masks/maskOverlayR.png');
mask-position: bottom left, bottom right;
mask-repeat: no-repeat;
mask-size: contain;
-webkit-mask-image: url('images/masks/maskOverlayL.png'), url('images/masks/maskOverlayR.png');
-webkit-mask-image: url('../images/masks/maskOverlayL.png'), url('../images/masks/maskOverlayR.png');
-webkit-mask-position: bottom left, bottom right;
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: contain;
Expand Down

0 comments on commit d570f7f

Please sign in to comment.