Grow your CSS skills. Land your dream job.

stellar.js attaching fixed coordinates

  • # August 23, 2012 at 4:33 pm

    I’m facing a couple nagging issues in dealing with some elements on a webpage I’ve built utilizing the stellar.js jQuery library.

    This is the page in question

    1. The elements that have the property data-stellar-ratio=”XXX” written in-line don’t scale along with the page when you re-size it. You’ll notice that when you drag the window, the white sphere and the clouds become misaligned due to the stellar.js calculating/attaching fixed left, top coordinates and display block properties. (The author of the library told me I had to add image dimensions, but I added both inline and in the css without any difference).

    Thanks for your help!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".