Code and Debug > Blog
Button Hover effect purely in HTML & CSS
25
Sep
The code is divided into two parts namely index.html and style.css. Code for index.html: Button Hover Style HOVER ME Code for style.css: @import url(“https://fonts.googleapis.com/css?family=Lato:100&display=swap”); body, html { width: 100%; height: 100%; margin: 0; padding: 0; background: white; overflow: hidden; font-family: “Lato”, sans-serif; } .container { width: 400px; height: 400px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, […]