t u t o r i a l s i t e
home tutorial twitter facebook official +follow
disclamiar
annyeong guise
Yad {16} Malaysian. This my tuto site. Contact me, I'm friendly.

chat
leave footsteps

credit
thanks for everything
©nurin
thank you people

« newer post
older post »
[Special Effect] Blockquote Shake Effect
Monday, January 13, 2014 - 0 comment

weirdo gif that I make with camstudio and random site -_-

Annyeong!

Special tutorial? I think so.

Basically, I never see any people did this tutorial. I got this code from my cousin. So, I think I'm just share this anyways. (without his permission) /evil laugh/. I tried this codes with classic template, so I dont know if this will works on other template. You can try.

Let's start.

1 - Dashboard - Template - Edit Template HTML

2 - Search this code;
blockquote{ or blockquote {

*may be not same sometimes.

3 - Delete your whole blockquote codes and replace with this codes;
blockquote { background:#faf8f8; padding:13px; color: #aaa; line-height:15px; border-left:5px solid #f4f4f4; border-right:5px solid #f4f4f4;
-webkit-user-select:text;
-moz-user-select:text;
-webkit-animation-name: shake;
-webkit-animation-duration: 3s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
-webkit-transition: 1.0s;
-moz-transition: 1.0s;
}
blockquote:hover{
-webkit-animation-name: none;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
-webkit-transition: 1.0s;
-moz-transition: 1.0s;
color:#aaa;}
{
@-moz-keyframes shake /* Firefox*/
{ -ms-transform:: translate(-1px, -2px) rotate(-1deg); }
20% { -moz-transform: translate(-3px, 0px) rotate(1deg); }
30% { -moz-transform:  translate(0px, 2px) rotate(0deg); }
40% { -moz-transform:  translate(1px, -1px) rotate(1deg); }
50% { -moz-transform:  translate(-1px, 2px) rotate(-1deg); }
60% { -moz-transform:  translate(-3px, 1px) rotate(0deg); }
70% { -moz-transform:  translate(2px, 1px) rotate(-1deg); }
80% { -moz-transform:  translate(-1px, -1px) rotate(1deg); }
90% { -moz-transform: translate(2px, 2px) rotate(0deg); }
100% { -moz-transform:  translate(1px, -2px) rotate(-1deg); }
}
@-ms-keyframes shake /* IE9*/
{
10% { -ms-transform:: translate(-1px, -2px) rotate(-1deg); }
20% { -ms-transform: translate(-3px, 0px) rotate(1deg); }
30% { -ms-transform: translate(0px, 2px) rotate(0deg); }
40% { -ms-transform: translate(1px, -1px) rotate(1deg); }
50% { -ms-transform: translate(-1px, 2px) rotate(-1deg); }
60% { -ms-transform: translate(-3px, 1px) rotate(0deg); }
70% { -ms-transform: translate(2px, 1px) rotate(-1deg); }
80% { -ms-transform: translate(-1px, -1px) rotate(1deg); }
90% { -ms-transform: translate(2px, 2px) rotate(0deg); }
100% { -ms-transform: translate(1px, -2px) rotate(-1deg); }
}
@-webkit-keyframes shake /* Safari and Chrome */
{
0% { -webkit-transform: translate(2px, 1px) rotate(0deg); }
10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}
.blockquote {
margin: 1em 10px;
}
.blockquote p {
margin: .95em 0;
}

*can change coloured word/numbers

here some help ━ {colour} {border}

3 - Save, and done!

P/S;
Sebenarnya, boleh gunakan design blockquote sendiri. Just delete background, border and colour dan gantikan dengan code anda sendiri.

Ppyong.