Slide in Border Hover Effects on Button using HTML and CSS Tutorial

Axolobit on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerWeb Design8 min

About this video

Shows how to build a text button in HTML and CSS whose borders slide in from the top, bottom, left and right on hover. Aimed at viewers learning HTML and CSS, with the steps set out in chapters.

What you’ll learn

  • Set up a button container and customise its text and font in CSS
  • Animate sliding borders that appear on hover
  • Build horizontal and vertical border transitions for a button