Automatic adjustment to the changed slide size and optional centering #7213
lis-marcin
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I wrote a simple amateur script to change slide width and dynamic update slider with centering. But it's not a perfect solution, and it's not bulletproof.
Here is a simple demo:
https://codepen.io/liskownik/pen/OJdEKrm
Here is also problem with pass width info to calculate function, because this need a special markup or passing the info to data attribute. I really miss such functionality; our designers enjoy creating complex animations, and then there's a problem with implementation.
Have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions