Yasmin1304 (Talk | contribs) |
Yasmin1304 (Talk | contribs) |
||
Line 19: | Line 19: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: cover; | background-size: cover; | ||
+ | height:100%;width:100%; | ||
} | } | ||
</style> | </style> | ||
Line 24: | Line 25: | ||
<body> | <body> | ||
− | <div class="parallax"> | + | <div class="parallax"></div> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </div> | + | |
<div style="height:1000px;background-color:red;font-size:36px"> | <div style="height:1000px;background-color:red;font-size:36px"> |
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.