Reputation: 618
I want to create a bounce effect but when I hover the mouse over the area the elements fall out of place. How do I ensure they stay in a line?
I have three icons in a row like this
%span
=link_to image_tag("icons/github_alt.svg", class: '')
%span
=link_to image_tag("icons/last.fm.svg", class: '')
%span
=link_to image_tag("icons/soundcloud.svg", class: '')
Thanks
Upvotes: 0
Views: 89
Reputation: 545
try with
span.social_icon {display:block; float:left; margin: 5px;}
http://jsfiddle.net/alemarch/tkn02tut/1/
is this?
Upvotes: 1