Yasmin1304 (Talk | contribs) |
Yasmin1304 (Talk | contribs) |
||
Line 12: | Line 12: | ||
/* Full height */ | /* Full height */ | ||
− | height: | + | height: 100%; |
/* Create the parallax scrolling effect */ | /* Create the parallax scrolling effect */ | ||
Line 19: | Line 19: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: cover; | background-size: cover; | ||
− | width: | + | width:100%; |
} | } | ||
</style> | </style> |
Revision as of 18:39, 13 October 2017
<!DOCTYPE html>
Scroll Up and Down this page to see the parallax scrolling effect.
This div is just here to enable scrolling.
Tip: Try to remove the background-attachment property to remove the scrolling effect.