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

span cant be animated #515

Closed
godlatro opened this issue Dec 28, 2015 · 3 comments
Closed

span cant be animated #515

godlatro opened this issue Dec 28, 2015 · 3 comments

Comments

@godlatro
Copy link

WORD

IT wont work.
SWING, TADA, bounce, pulse etc..

IT will work
FLASH

W will be animate if its @display:inline-block;@

@MHanslo
Copy link

MHanslo commented Jan 27, 2016

Historically, span elements can't be animated with CSS. In order to animate them, you'll need to give them a display property. Obviously display: block; will give you undesirable effects, so assigning display: inline-block would be a better choice, and solve the issue.

Having animate.css assign display: inline-block; on span elements will be undesirable; it can potentially break layouts.

@daneden
Copy link
Collaborator

daneden commented Feb 3, 2016

Either giving it a display value or a non-static position value will allow a span element to be animated.

@daneden daneden closed this as completed Feb 3, 2016
@chhagandaspawar
Copy link

but i already animated to span tag
but here problem is i wanna animate to second span h2
so i want any shakeble animation effect

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

4 participants