dixonandmoe / rellax

Lightweight, vanilla javascript parallax library
https://dixonandmoe.com/rellax/
MIT License
7.06k stars 878 forks source link

Supporting different units #131

Open hovi opened 5 years ago

hovi commented 5 years ago

Hi, from what I saw in code, speed is in pixels, which is not very practical in modern responsive web. I'd much rather set speed in something more useful like values based on container size (ie: percentage, vh/vw) Are you planing on adding anything like that? Cheers!