Eclipse can't handle CSS3 Animations
css, eclipse, formatting, newline
Solution
Accordingly to this comment
Also, CSS3 is not the default CSS-level. So when the time comes you'll need to modify the Web Content Settings at either the project level or file level by right clicking on the project or file and selecting Properties. Select Web Content Settings and change CSS Profile to "Cascading Style Sheets, level 3".
Verify if your version of the WTP is, at least, 3.2.3.
Try it. If you still go into formatting problems I suggest you to add an issue at Eclipse Bug track.
You can also try installing Aptana Studio 3 Eclipse plugin version.
Problem
I was wondering if anybody could tell me why eclipse seems determined to not format the code for css3 animations correctly, more specifically it inserts newlines into the keyframe rules. ANy tips on how to fix this?