Nice Button Hover Animation in Html and CSS

Here is some nice button hovers which you can use in your website to make it look more cooler and nice

Hover Animation


<!DOCTYPE html>
<html lang="en" dir="ltr">
    <meta charset="utf-8">
    <link rel="stylesheet" href="style.css">
<div class="container">
  <button class="btn btn1">Hover Me</button>
  <button class="btn btn2">Hover Me</button>
  <button class="btn btn3">Hover Me</button>
  <button class="btn btn4">Hover Me</button>


@import url(';400&display=swap');

  margin: 0;
  padding: 0;
font-family: 'Roboto', sans-serif;
  text-align: center;
  margin-top: 360px;
  border: 1px solid #3498db;
  background: none;
  padding: 10px 20px;
  font-size: 20px;
  font-family: "montserrat";
  cursor: pointer;
  margin: 10px;
  transition: 0.8s;
  position: relative;
  overflow: hidden;
font-family: 'Roboto', sans-serif;
font-weight: 400;
  color: #3498db;
  color: #fff;
  color: #fff;
  color: #3498db;
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: #3498db;
  z-index: -1;
  transition: 0.8s;
  top: 0;
  border-radius: 0 0 50% 50%;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  height: 180%;
  height: 180%;
  height: 0%;

Post a Comment

Previous Post Next Post