Reputation: 354
I am trying to achieve a "slide out from right" effect on a div using jquery. I am able to achieve it partially, but not how I need it. I have setup a fiddle.
The div nicely slides out, but the text inside it wraps when toggling. Is there a way to prevent the text from wrapping? I went through other SO posts, but couldn't find a solution. I would request you to put up an example if possible.
Any help will be greatly appreciated.
Thanks in advance!
Upvotes: 4
Views: 7687
Reputation: 414
Fixed it using css. You can look at the fix here:
You could obviously make this more specific by saying #home p, for example. That's your call.
Upvotes: 4