This uses transform on before and after pseudo elements to create border effects on button hover with no javascript. By Les Moffat
If you are having trouble with the pen, try the archived copy on GitHub
See the Pen CSS transform border button hover effects by Les (@lesbaa) on CodePen.0