Shows how to build two buttons that share a sliding background colour using only CSS3. It uses a span to target a hover state and a separate class for a second hover effect.
What you’ll learn
✓Build a button with a sliding background colour using only CSS3
✓Use a span element to target a hover state
✓Apply a second hover effect with a dedicated class