css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image


  1. Nice and simple :D

  2. How it's work? default background position x is 0%, transition linear, animate on 0% keyframe to 390px... I can't understand why background move from right to left!?

  3. I put background only on hover and then animate it's background-position-x @MaxDeuS

  4. keyframe: 0%=start anim — position-x is 390px 100%=end anim — position-x return to default 0%=0px=left


Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.