Posted by Aak
Aak-share.com Updated at: 1:06:00 AM

Cara Membuat Tombol Social Media Flat UI Color

No comments:
Button Social Media Flat UI Color - Tombol Sosial media mempunyai peranan cukup penting dalam perkembangan Blog . Tombol sosial media terdapat berbagai macam bentuk dan keunikan , bertujan untuk membuat tampilan menjadi lebih menarik . Bentiuk lain dalam tombol sosial media seperti Share Sosial Media Berputar dan Widget Sharing Is Sexy . Pada Button Social Media Flat UI Color berikut ini memiliki efek tombol cukup menarik .



Untuk menciptakannya , Anda buka Editor Template kemudian Anda cari kode  ]]></b:skin> lalu salin kode dibawah ini dan terapkan diatasnya atau sebelumnya .

.roundbtn {
  margin-right: 20px;
}
.roundbtn {
  width: 75px;
  height: 75px;
  border: 5px solid #9a9a9a;
  display: inline-block;
  background-color: #6c6161;
  -moz-border-radius: 75px;
  -webkit-border-radius: 75px;
  border-radius: 75px;
  -moz-transition: all 35ms linear;
  -o-transition: all 35ms linear;
  -webkit-transition: all 35ms linear;
  transition: all 35ms linear;
  -ms-transition: all 35ms linear;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.roundbtn.sea {
  border: 5px solid #1abc9c;
  background-color: #16a085;
}
.roundbtn.red {
  border: 5px solid #d73030;
  background-color: #8b1616;
}
.roundbtn.blue {
  border: 5px solid #51a9ff;
  background-color: #0077ea;
}
.roundbtn.dark {
  border: 5px solid #34495e;
  background-color: #2c3e50;
}

.roundbtn .inner {
  position: relative;
  width: 75px;
  height: 75px;
  background-color: #9a9a9a;
  margin-top: -8px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -moz-transition: margin 35ms 35ms linear, box-shadow 35ms linear;
  -o-transition: margin 35ms 35ms linear, box-shadow 35ms linear;
  -webkit-transition: margin 35ms 35ms, box-shadow 35ms linear;
  -webkit-transition-delay: linear, 0s;
  transition: margin 35ms 35ms linear, box-shadow 35ms linear;
  -ms-transition: margin 35ms 35ms linear, box-shadow 35ms linear;
}
.roundbtn.sea .inner {
  background-color: #1abc9c;
}
.roundbtn.red .inner {
  background-color: #d73030;
}
.roundbtn.blue .inner {
  background-color: #51a9ff;
}
.roundbtn.dark .inner {
  background-color: #34495e;
}

.roundbtn:active .inner {
  margin-top: 0;
  -moz-box-shadow: #6c6161 0 8px 0 inset;
  -webkit-box-shadow: #6c6161 0 8px 0 inset;
  box-shadow: #6c6161 0 8px 0 inset;
  -moz-transition: margin 35ms linear, box-shadow 17.5ms 17.5ms linear;
  -o-transition: margin 35ms linear, box-shadow 17.5ms 17.5ms linear;
  -webkit-transition: margin 35ms linear, box-shadow 17.5ms 17.5ms;
  -webkit-transition-delay: 0s, linear;
  transition: margin 35ms linear, box-shadow 17.5ms 17.5ms linear;
  -ms-transition: margin 35ms linear, box-shadow 17.5ms 17.5ms linear;
}
.roundbtn:active.sea .inner {
  -moz-box-shadow: #16a085 0 8px 0 inset;
  -webkit-box-shadow: #16a085 0 8px 0 inset;
  box-shadow: #16a085 0 8px 0 inset;
}
.roundbtn:active.red .inner {
  -moz-box-shadow: #8b1616 0 8px 0 inset;
  -webkit-box-shadow: #8b1616 0 8px 0 inset;
  box-shadow: #8b1616 0 8px 0 inset;
}
.roundbtn:active.blue .inner {
  -moz-box-shadow: #0077ea 0 8px 0 inset;
  -webkit-box-shadow: #0077ea 0 8px 0 inset;
  box-shadow: #0077ea 0 8px 0 inset;
}
.roundbtn:active.dark .inner {
  -moz-box-shadow: #2c3e50 0 8px 0 inset;
  -webkit-box-shadow: #2c3e50 0 8px 0 inset;
  box-shadow: #2c3e50 0 8px 0 inset;
}

.text {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  text-align: center;
  text-transform: uppercase;
  font-family: Courier New;
  font-size: 13px;
  color: white;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
}

Selanjutnya pemasangan kode HTML , Anda bisa memasangnya sesuai dengan yang Anda kehendaki .

<div class="roundbtn dark">
<div class="inner">
<span class="text"><i class="fa fa-facebook fa-2x"></i></span>
</div>
</div>
<div class="roundbtn red">
<div class="inner">
<span class="text"><i class="fa fa-google-plus fa-2x"></i></span>
</div>
</div>
<div class="roundbtn blue">
<div class="inner">
<span class="text"><i class="fa fa-twitter fa-2x"></i></span>
</div>
</div>
<div class="roundbtn sea">
<div class="inner">
<span class="text"><i class="fa fa-linkedin fa-2x"></i></span>
</div>
</div>




Silahkan Anda kreasikan sesuai kehendak Anda .

Semoga bermanfaat!


Blogger
Disqus
Pilih Sistem Komentar Yang Anda Sukai

No comments