◄ Min  Size Fonts: + | - | ± Color: Max ►

Added Animated Header Background by Jakob E

Berbicara tentang "animation" sudah pasti berkaitan erat dengan yang namanya pergerakan. Intinya ada sesuatu yang bergerak-gerak! Mau itu sedikit atau banyak gerakannya, pokoknya gerak-gerak :D Untuk mempercantik tampilan blog, khususnya pada bagian header, AA Koben punya satu rekomendasi untuk membuat header blog sobat menjadi lebih atraktif! Jika kepengen tau bagaimana hasil akhirnya silahkan kunjungi halaman jakob-e on CodePen.
Kalau mau yg keren dan sudah jadi tinggal comot bumbunya, absolutely come from Codrops.

jakob-eAnimasi header karya master Jakob E ini, di bangun dengan beberapa gambar utama, yaitu: 2 gambar awan, burung dan balon udara! Untuk balon udara gue tidak pakai. Ambil dan save link gambar burung pada halaman sumber yg sudah berupa data URI base64
Gambar: clouds3 - clouds4

Kode CSS
.content-jakob-e {
position: relative;
overflow: hidden;
max-height: 300px;
height: 100vh;
width: 75%;
margin: 9px auto;
}
.content-jakob-e:before, .content-jakob-e:after {
-webkit-animation-duration: 195s;
animation-duration: 195s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
content: '';
position: absolute;
display: block;
width: 75vw;
min-height: 62.5vw;
top: 50%;
left: 50%;
background-size: cover;
background-repeat: no-repeat;
background-position: 80%;
pointer-events: none;
}
.content-jakob-e:before {
background-image: url(LINK-IMAGE/clouds4.jpg);
-webkit-animation-name: cloud1;
animation-name: cloud1;
z-index: 1;
}
.content-jakob-e:after {
background-image: url(LINK-IMAGE/clouds3.png);
-webkit-animation-name: cloud2;
animation-name: cloud2;
z-index: 3;
}

@-webkit-keyframes cloud1 {
0% {
-webkit-transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
}
20% {
-webkit-transform: translate(-50%, -50%) scale(1.4) rotate(5deg);
transform: translate(-50%, -50%) scale(1.4) rotate(5deg);
}
40% {
-webkit-transform: translate(-50%, -50%) scale(1);
transform: translate(-50%, -50%) scale(1);
}
60% {
-webkit-transform: translate(-50%, -50%) scale(1.4) rotate(-5deg);
transform: translate(-50%, -50%) scale(1.4) rotate(-5deg);
}
80% {
-webkit-transform: translate(-50%, -50%) scale(1.3) rotate(15deg);
transform: translate(-50%, -50%) scale(1.3) rotate(15deg);
}
100% {
-webkit-transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
}
}

@keyframes cloud1 {
0% {
-webkit-transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
}
20% {
-webkit-transform: translate(-50%, -50%) scale(1.4) rotate(5deg);
transform: translate(-50%, -50%) scale(1.4) rotate(5deg);
}
40% {
-webkit-transform: translate(-50%, -50%) scale(1);
transform: translate(-50%, -50%) scale(1);
}
60% {
-webkit-transform: translate(-50%, -50%) scale(1.4) rotate(-5deg);
transform: translate(-50%, -50%) scale(1.4) rotate(-5deg);
}
80% {
-webkit-transform: translate(-50%, -50%) scale(1.3) rotate(15deg);
transform: translate(-50%, -50%) scale(1.3) rotate(15deg);
}
100% {
-webkit-transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
}
}
@-webkit-keyframes cloud2 {
0% {
-webkit-transform: translate(-50%, -30%) scale(1.35) rotate(-8deg);
transform: translate(-50%, -30%) scale(1.35) rotate(-8deg);
}
20% {
-webkit-transform: translate(-48%, -33%) scale(1.45) rotate(3deg);
transform: translate(-48%, -33%) scale(1.45) rotate(3deg);
}
40% {
-webkit-transform: translate(-50%, -38%) scale(1.05);
transform: translate(-50%, -38%) scale(1.05);
}
60% {
-webkit-transform: translate(-40%, -40%) scale(1.45) rotate(-3deg);
transform: translate(-40%, -40%) scale(1.45) rotate(-3deg);
}
80% {
-webkit-transform: translate(-52%, -30%) scale(1.35) rotate(13deg);
transform: translate(-52%, -30%) scale(1.35) rotate(13deg);
}
100% {
-webkit-transform: translate(-50%, -30%) scale(1.35) rotate(-8deg);
transform: translate(-50%, -30%) scale(1.35) rotate(-8deg);
}
}
@keyframes cloud2 {
0% {
-webkit-transform: translate(-50%, -30%) scale(1.35) rotate(-8deg);
transform: translate(-50%, -30%) scale(1.35) rotate(-8deg);
}
20% {
-webkit-transform: translate(-48%, -33%) scale(1.45) rotate(3deg);
transform: translate(-48%, -33%) scale(1.45) rotate(3deg);
}
40% {
-webkit-transform: translate(-50%, -38%) scale(1.05);
transform: translate(-50%, -38%) scale(1.05);
}
60% {
-webkit-transform: translate(-40%, -40%) scale(1.45) rotate(-3deg);
transform: translate(-40%, -40%) scale(1.45) rotate(-3deg);
}
80% {
-webkit-transform: translate(-52%, -30%) scale(1.35) rotate(13deg);
transform: translate(-52%, -30%) scale(1.35) rotate(13deg);
}
100% {
-webkit-transform: translate(-50%, -30%) scale(1.35) rotate(-8deg);
transform: translate(-50%, -30%) scale(1.35) rotate(-8deg);
}
}
@-webkit-keyframes zep {
0% {
-webkit-transform: translate(-10%, -51%);
transform: translate(-10%, -51%);
}
50% {
-webkit-transform: translate(50%, -75%);
transform: translate(50%, -75%);
}
75% {
-webkit-transform: translate(-30%, -51%);
transform: translate(-30%, -51%);
}
100% {
-webkit-transform: translate(-10%, -51%);
transform: translate(-10%, -51%);
}
}
@keyframes zep {
0% {
-webkit-transform: translate(-10%, -51%);
transform: translate(-10%, -51%);
}
50% {
-webkit-transform: translate(50%, -75%);
transform: translate(50%, -75%);
}
75% {
-webkit-transform: translate(-30%, -51%);
transform: translate(-30%, -51%);
}
100% {
-webkit-transform: translate(-10%, -51%);
transform: translate(-10%, -51%);
}
}
[class*=bird] {
position: absolute;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAADICAYAAADhnmEjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0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DNPDJvvIBAE7hFXFmuTl7hdJu31EagCR1TiddBHYDTLAcadFhpvzCJQoTo3Rvm3G7eGbwusY/XiAC/3VHT77ccNFiujJIFqZqtTaOuS4l7mDn45N+AFAmElBoEgEARM6983xnHqK0bJkeqZL0qR4lKUf2nRleVzCfHENeA1MIx/k1LA9n7HsoZgvsepi25/j9Om3HgeK7tVhcaY7ziORtoTFb6cySmxaueTifviTdHAz2mE1amPNlay2xydP8j0bER7A3yvOm51VrETBB4DH9H/f3TUkEIsBIEgcFdSXZewKsC+xCjtZMZ2WFc20zxxKv/VJiOp7l5boJgn9lmeWEOvGG4LeHuiLbCeaW1mT7QFrjg6N2TZZ7i+BrrGJ1HkI9CrBNp8djr294nywHxnMALm+0SpVkz0EQjRGASG1NLsVk8i5841w679GKnKKiCe2E4D1UbTwhLhAAHxxLGsm15SXmj84RCFplP4OzBTC4xJ8MQ1jiHJy5sO2xPPetha4jfbmZPMJIGmrEvAFKZ30s6MP+71XUgyiZ/z7HVefdU6qOTtGuEjEMI5im4KMAAuxrvFQhwucwAAAABJRU5ErkJggg==") no-repeat;
width: 20px;
height: 16px;
display: block;
-webkit-animation: bird-move 79s infinite, bird-flap 0.8s steps(10) infinite;
animation: bird-move 79s infinite, bird-flap 0.8s steps(10) infinite;
z-index: 2;
opacity: 0.7;
left: -2vw;
}
.bird-1 {
top: 38%;
-webkit-animation-delay: 1s;
animation-delay: 1s;
}
.bird-2 {
top: 51%;
-webkit-animation-delay: 2s;
animation-delay: 2s;
}
.bird-3 {
top: 40%;
-webkit-animation-delay: 3s;
animation-delay: 3s;
-webkit-transform: scale(0.8);
transform: scale(0.8);
}
.bird-4 {
top: 43%;
-webkit-animation-delay: 4s;
animation-delay: 4s;
-webkit-transform: scale(0.7);
transform: scale(0.7);
}
.bird-5 {
top: 48%;
-webkit-animation-delay: 3s;
animation-delay: 3s;
-webkit-transform: scale(0.9);
transform: scale(0.9);
}
.bird-6 {
top: 50%;
-webkit-animation-delay: 6s;
animation-delay: 6s;
}
@-webkit-keyframes bird-flap {
100% {
background-position: 0 -200px;
}
}
@keyframes bird-flap {
100% {
background-position: 0 -200px;
}
}
@-webkit-keyframes bird-move {
0% {
left: -2vw;
}
100% {
left: 102vw;
-webkit-transform: scale(0.3);
transform: scale(0.3);
}
}
@keyframes bird-move {
0% {
left: -2vw;
}
100% {
left: 102vw;
-webkit-transform: scale(0.3);
transform: scale(0.3);
}
}
Gantikan tulisan "LINK-IMAGE/clouds4.jpg" & "LINK-IMAGE/clouds3.png" dengan link image.
Atur nominal width & margin kalau perlu!
Markup HTML
<div class="content-jakob-e">
<div class="bird-1"></div>
<div class="bird-2"></div>
<div class="bird-3"></div>
<div class="bird-4"></div>
<div class="bird-5"></div>
<div class="bird-6"></div>
</div>
DEMO

Bonus

Quote hovering - Shake Effect - 3D Rotating Carousel with CSS and JavaScript - Simple On-click Search Field Interaction (Pure CSS) - CSS-Only Nested Dropdown Navigation (ARIA) - Javascriptless Before/After Slider - CSS images with Costum Properties - Profile Image Hover Effect - Collage Parallax - Neon Button - Direction Aware Tiles using clip-path Pure CSS - Share Icons With Hover Effects (All CSS) - Pop-Up Overlay - Animated Search Box - floating animation - Venetian Blinds - Morphing tab button with list
Loading...
XAdded Animated Header Background by Jakob E
Membuat animasi header awan berputar dan burung terbang agar blog lebih atraktif.
Subscribe my posts Register For Free!

3 comments

[?] g+ convert

DO NOT EVEN TRY ADD LINK [-X
You can use some HTML tags, such as
<b> - <i> - <a> - http://...jpg/gif/png/bmp - http://youtu.be/...


MISC

Resources

WANT BE HERE!!! CONTACT ME :P

FACEBOOK PAGE