if I change a fixed width to 'auto' the animation is distorted

0 votes
asked Sep 13, 2017 by yavg

To the boxes that I have as span, I want them to have a width auto so that the text can be shown completely horizontally. but if I change it to auto it damages my animation. by default the width value is 50px and so it works fine.


#horizontalScroller > span { position:absolute; width:50px; __width:auto; height:50px; left: -50px; border: 1px solid blue; overflow:hidden; display:inline-block; background:red;

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter