Css Button Liên hệ trên menu

<style>

.wrap_home {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}

.button_lien_he {
min-width: 150px;
min-height: 50px;
font-family: ‘Roboto’, sans-serif;
font-size: 15px;
text-transform: uppercase;
letter-spacing: 1.3px;
font-weight: 700;
color: white;
background: #aa2231;
background: linear-gradient(90deg, #e7485b 0%,#e94b5e 100%);
border: none;
border-radius: 1000px;
transition: all 0.3s ease-in-out 0s;
cursor: pointer;
outline: none;
position: relative;
padding: 1px;
}

.button_lien_he::before {
content: ”;
border-radius: 1000px;
min-width: calc(150px + 12px);
min-height: calc(50px + 12px);
border: 6px solid #ffee00;
box-shadow: 0 0 60px rgba(0,255,203,.64);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
transition: all .3s ease-in-out 0s;
}

.button_lien_he:hover, .button:focus {
color: #white;
transform: translateY(-6px);
}

.button_lien_he:hover::before, .button_lien_he:focus::before {
opacity: 1;
}

.button_lien_he::after {
content: ”;
width: 30px; height: 30px;
border-radius: 100%;
border: 6px solid #eb678e;
position: absolute;
z-index: -1;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
animation: ring 1.5s infinite;
}

.button_lien_he:hover::after, .button_lien_he:focus::after {
animation: none;
display: none;
}

@keyframes ring {
0% {
width: 30px;
height: 30px;
opacity: 1;
}
100% {
width: 300px;
height: 300px;
opacity: 0;
}
}
</style>
<div class=”wrap_home”>
<div id=”button_id”>
<button class=”button_lien_he”>Nhận tư vấn</button>
</div> </div>

 

Css button Xem ngay các dự án trên trang chủ

 <style>
    .frame_home {
  width: 90%;
  margin: 0px;
  text-align: center;
}
.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 6px 25px;
  font-family: ‘Lato’, sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
}
/* 11 */
.btn-11 {
  border: none;
  background: #e7485b ;
    background: linear-gradient(0deg, #e7485b 0%, #e7485b 100%);
    color: #fff;
    overflow: hidden;
}
.btn-11:hover {
    text-decoration: none;
    color: #fff;
}
.btn-11:before {
    position: absolute;
    content: ”;
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shiny-btn1 3s ease-in-out infinite;
}
.btn-11:hover{
  opacity: .7;
}
.btn-11:active{
  box-shadow:  4px 4px 6px 0 rgba(255,255,255,.3),
              -4px -4px 6px 0 rgba(116, 125, 136, .2),
    inset -4px -4px 6px 0 rgba(255,255,255,.2),
    inset 4px 4px 6px 0 rgba(0, 0, 0, .2);
}
@-webkit-keyframes shiny-btn1 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
    </style>
    <div class=”frame_home”>
      <a href=””>
      <button class=”custom-btn btn-11″>Xem ngay<div class=”dot”></div></button></a>
    </div>

Linhproductions.com