1°
Html
<button class="theme-btn btn-style-wood" type="button" id="submit" name="submit-form"> <span class="btn-title">Envoyer</span> <span></span> <span></span> <span></span> <span></span> <span></span> </button>
Css
.theme-btn{ display:inline-block; text-align: center; text-transform: uppercase; -webkit-transition:all 0.5s ease; -moz-transition:all 0.5s ease; -ms-transition:all 0.5s ease; -o-transition:all 0.5s ease; transition:all 0.5s ease; cursor: pointer; border: none; outline: none; } .theme-btn .btn-title{ position: relative; z-index: 9; color: inherit; } .theme-btn span:not(.btn-title){ position: absolute; left: 0; bottom: 0; width: 20%; height: 100%; border-radius: 50%; transform: translateY(150%); transition: all 500ms ease; background-color: #ab7442; z-index: 0; } .theme-btn span:nth-child(2){ left: 20%; transition-delay: 100ms; } .theme-btn span:nth-child(3){ left: 40%; transition-delay: 200ms; } .theme-btn span:nth-child(4){ left: 60%; transition-delay: 300ms; } .theme-btn span:nth-child(5){ left: 80%; transition-delay: 400ms; } .theme-btn:hover span{ transform: translateY(0) scale(2); } .btn-style-wood{ position: relative; font-size: 16px; line-height: 30px; color: #ffffff; padding: 11px 30px 9px; font-weight: 600; border-radius: 5px; background-color: #ab7442; overflow: hidden; } .btn-style-wood:hover{ color: #ab7442; box-shadow: 0 10px 20px rgba(0,0,0,0.10); } .btn-style-wood span:not(.btn-title){ background-color: #ffffff !important; }
2°
Html
<a class="theme-btn btn-style-wood-one" type="button" id="submit" name="submit-form"> <span class="btn-title">En savoir plus</span> <span></span> <span></span> <span></span> <span></span> <span></span> </a>
Css
.theme-btn { display: inline-block; text-align: center; text-transform: uppercase; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -ms-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; cursor: pointer; border: none; outline: none; } .theme-btn .btn-title { position: relative; z-index: 9; color: inherit; } .theme-btn span:not(.btn-title) { position: absolute; left: 0; bottom: 0; width: 20%; height: 100%; border-radius: 50%; transform: translateY(150%); transition: all 500ms ease; background-color: #ab7442; z-index: 0; } .theme-btn span:nth-child(2) { left: 20%; transition-delay: 100ms; } .theme-btn span:nth-child(3) { left: 40%; transition-delay: 200ms; } .theme-btn span:nth-child(4) { left: 60%; transition-delay: 300ms; } .theme-btn span:nth-child(5) { left: 80%; transition-delay: 400ms; } .theme-btn:hover span { transform: translateY(0) scale(2); } .btn-style-wood-one { position: relative; font-size: 16px; line-height: 24px; color: #ab7442; padding: 11px 30px 9px; font-weight: 600; border-radius: 5px; border: 3px solid #ab7442; overflow: hidden; } .btn-style-wood-one:hover { color: #ffffff; background-color: transparent; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10); }