Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow working with CSS variables instead of property values #16

Open
75th opened this issue Feb 16, 2018 · 1 comment
Open

Allow working with CSS variables instead of property values #16

75th opened this issue Feb 16, 2018 · 1 comment
Assignees

Comments

@75th
Copy link
Owner

75th commented Feb 16, 2018

Of course I discover basicScroll after setting out to make my own parallax library. We'll see if I can get mine to a point where I feel Parallaxative has earned a right to exist alongside it, before giving up and just using basicScroll forever

@75th 75th self-assigned this Feb 16, 2018
@75th
Copy link
Owner Author

75th commented Feb 19, 2018

Found this snippet that might be useful for this later:

function vendorPrefix() {
	return (Array.prototype.slice.call(styles).join('') .match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o']))[1];
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant