Style Neon Sosial Media CSS

Cara membuat Style Sosial Media keren dan menarik hanya dengan CSS.
copy code html di bawah.
<div style='background:#18191f;'>
<div class="container">
    <i class="fa fa-apple" id="apple"></i>
    <i class="fa fa-twitter" id="twitter"></i>
    <i class="fa fa-github-square github" id="github"></i>
    <i class="fa fa-facebook-square" id="facebook"></i>
  </div></div>

dan copy code CSS, jika ingin mencobanya secara langsung diawal tambahkan code <style>, diakhir atau penutup </style>
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80%;
  width: 100%;
}
#apple,
#twitter,
#github,
#facebook {
  font-size: 50px;
  background-color: #18191f;
  color: #fff;
  box-shadow: 2px 2px 2px #00000080, 10px 1px 12px #00000080,
    2px 2px 10px #00000080, 2px 2px 3px #00000080, inset 2px 2px 10px #00000080,
    inset 2px 2px 10px #00000080, inset 2px 2px 10px #00000080,
    inset 2px 2px 10px #00000080;
  border-radius: 10px;
  padding: 11px 19px;
  margin:100px 30px 100px 0;
  animation: animate 3s linear infinite;
  text-shadow: 0 0 50px #0072ff, 0 0 100px #0072ff, 0 0 150px #0072ff,
    0 0 200px #0072ff;
}
#twitter {
  animation-delay: 0.3s;
}
#facebook {
  animation-delay: 0.7s;
}
#github {
  animation-delay: 0.1s;
}

@keyframes animate {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}

Posting Komentar untuk "Style Neon Sosial Media CSS"