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

Dynamic resizing question #18

Open
slarcher opened this issue Dec 28, 2013 · 1 comment
Open

Dynamic resizing question #18

slarcher opened this issue Dec 28, 2013 · 1 comment

Comments

@slarcher
Copy link

Dear Brian

a question in regards resizing. I am playing with a slider here: http://hipsta.samuellarcher.net/

I set the height of the slider container to a set height of 200px. As far as I understand the slider should resize the images based on the set size but it doesnt seem to do so.
The images are set to max-width: 100% so they are by nature scalable however even if I do not set a static size the slider does not scale. It seems that width and height values are applied via the JS and they do not change when resizing the browser window.

Am I doing something wrong here or is there an issue?

Thanks
Sam

@slarcher
Copy link
Author

I removed the 200px height but you should get the idea based on the demo.

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