Posted by Aak
Aak-share.com Updated at: 10:07:00 PM

Cara Membuat Title/Judul Miring di Blog

No comments:
Membuat Judul Miring di Blog - Apakah Anda ingin membuat tittle atau judul dengan berbentuk miring pada blog Anda?
Membuat judul miring pada dasarnya menggunakan keyframes , dengan membuat judul menjadi miring membuat tampilan menjadi unik dan menarik .



Untuk membuatnya berikut ini langkah-langkahnya :

Buka editor Template, kemudian salin kode dibawah ini dan pasangkan sebelum atau diatas
kode ]]></b:skin>

CSS

/*Angled title*/
@-webkit-keyframes angleIn {
  0% {
    -webkit-transform: translate3d(-200vw, -100vh, 0) rotate(12deg) scale(1.1);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0) rotate(12deg) scale(1.1);
    opacity: 1;
  }
}
@-moz-keyframes angleIn {
  0% {
    -moz-transform: translate3d(-200vw, -100vh, 0) rotate(12deg) scale(1.1);
    opacity: 0;
  }
  100% {
    -moz-transform: translate3d(0, 0, 0) rotate(12deg) scale(1.1);
    opacity: 1;
  }
}
@keyframes angleIn {
  0% {
    -webkit-transform: translate3d(-200vw, -100vh, 0) rotate(12deg) scale(1.1);
    -moz-transform: translate3d(-200vw, -100vh, 0) rotate(12deg) scale(1.1);
    -ms-transform: translate3d(-200vw, -100vh, 0) rotate(12deg) scale(1.1);
    -o-transform: translate3d(-200vw, -100vh, 0) rotate(12deg) scale(1.1);
    transform: translate3d(-200vw, -100vh, 0) rotate(12deg) scale(1.1);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0) rotate(12deg) scale(1.1);
    -moz-transform: translate3d(0, 0, 0) rotate(12deg) scale(1.1);
    -ms-transform: translate3d(0, 0, 0) rotate(12deg) scale(1.1);
    -o-transform: translate3d(0, 0, 0) rotate(12deg) scale(1.1);
    transform: translate3d(0, 0, 0) rotate(12deg) scale(1.1);
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
html {
  height: 100%;
}

.page {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}

.rotator {
  -webkit-transform: translate3d(-200vw, -120vh, 0) rotate(12deg);
  -moz-transform: translate3d(-200vw, -120vh, 0) rotate(12deg);
  -ms-transform: translate3d(-200vw, -120vh, 0) rotate(12deg);
  -o-transform: translate3d(-200vw, -120vh, 0) rotate(12deg);
  transform: translate3d(-200vw, -120vh, 0) rotate(12deg);
  width: 110vw;
}

.rotate-1 {
  -webkit-animation: angleIn 0.5s linear;
  -moz-animation: angleIn 0.5s linear;
  animation: angleIn 0.5s linear;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.rotate-2 {
  -webkit-animation: angleIn 0.5s linear 0.3s;
  -moz-animation: angleIn 0.5s linear 0.3s;
  animation: angleIn 0.5s linear 0.3s;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.rotate-fixed {
  -webkit-transform: rotate(12deg);
  -moz-transform: rotate(12deg);
  -ms-transform: rotate(12deg);
  -o-transform: rotate(12deg);
  transform: rotate(12deg);
  width: 110vw;
}

h1 {
  -webkit-transform: skew(12deg);
  -moz-transform: skew(12deg);
  -ms-transform: skew(12deg);
  -o-transform: skew(12deg);
  transform: skew(12deg);
  padding: 30px 40vw 30px 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2rem;
  background: #477eeb;
  text-align: right;
}

h2 {
  -webkit-transform: skew(12deg);
  -moz-transform: skew(12deg);
  -ms-transform: skew(12deg);
  -o-transform: skew(12deg);
  transform: skew(12deg);
  background: #979797;
  color: white;
  text-align: right;
  font-weight: 300;
  padding: 10px 43vw 10px 0;
  margin-top: -30px;
}

span.pop-in {
  -webkit-transform: skew(12deg);
  -moz-transform: skew(12deg);
  -ms-transform: skew(12deg);
  -o-transform: skew(12deg);
  transform: skew(12deg);
  -webkit-animation: fadeIn 0.3s linear 0.8s;
  -moz-animation: fadeIn 0.3s linear 0.8s;
  animation: fadeIn 0.3s linear 0.8s;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  opacity: 0;
  display: block;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 40vw 0 0;
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: right;
}


Copy kode di bawah ini , kemudian Anda terapakan di Entri baru pada Mode HTML

HTML

<div class="page">
<div class="rotator rotate-fixed">
<span class="pop-in">Hey look</span></div>
<div class="rotator rotate-1">
<h1>
www.aak-share.com</h1>
</div>
<div class="rotator rotate-2">
<h2>
Angled Titles</h2>
</div>
</div>



Semoga bermanfaat!
Blogger
Disqus
Pilih Sistem Komentar Yang Anda Sukai

No comments