Button Slide to Right Effect on Hover using CSS

Axolobit on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerWeb Design5 min

About this video

Shows how to build a button with a slide-in effect on hover using HTML and CSS, covering the index.html markup and the style.css rules. Suited to people learning basic CSS hover effects.

What you’ll learn

  • Write the HTML markup for a styled button in index.html
  • Write CSS rules that animate a slide-in effect when the button is hovered