Posts

Showing posts with the label Advanced Button Effects with HTML & CSS in 2022 with full source code | jishaansinghal

Advanced Button Effects with HTML & CSS in 2022 with full source code | jishaansinghal

 <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8">   <meta name="viewport" content="width=device-width, initial-scale=1.0">   <title>Document</title> <style> body{   margin: 0;   padding: 0;   box-sizing: border-box;   background: #03045E; } a{   overflow: hidden;   text-decoration: none;   text-transform: uppercase;   font-size: 30px;   list-style-type: none;   border: 2px solid #fff;   padding: 20px 30px;   position: relative;   margin-top: 25%;   margin-left: 40%;   display: inline-block;   color: #fff;   background: #000;   transition: .5s; } a:hover{   background: #fff;   color: #000; } a::before{   content: "";   position: absolute;   top: 0%;   left: -100%;   width: 10%;   height: 100%;   background: #fff;   transition: .5s; } a:hover::before{   left: 100%...