jlmakes / scrollreveal

Animate elements as they scroll into view.
https://scrollrevealjs.org/
22.39k stars 2.26k forks source link

On reveal not working. #368

Closed ReMuSoMeGa closed 7 years ago

ReMuSoMeGa commented 7 years ago

I wrote a very simple test website to try and load my website images/sections

https://github.com/ReMuSoMeGa/scrollreveal

there is a class called .more-left that should fade in when 0.5 is revealed. No matter what I change this to, it does not work. Instead, everything loads at the exact same time. However, if I am scrolled to the very bottom and refresh -- things reveal on scroll when I scroll back up. Everything is backwards and wrong. Please tell me what I did wrong here.

jlmakes commented 7 years ago

Your page is missing a doctype declaration.

<!DOCTYPE html> must be present at the top of your file.

Related to #169