• Bm7
    Terima kasih sudah berkunjung xD
Home » , » Apple-Like Retina Effect

Apple-Like Retina Effect

Rabu, 22 Februari 2012
BM7-Apple like retina itulah judul tutorial kali ini dalam pengertian biasa saya menyebutnya gambar membesar kalau dilewati oleh cursor mouse,penasaran apa yang disebut Apple like retina effect perhatikan cara2 simpel di bawah ini

1.Login ke akun blogger sobat
2.Masuklah Pada rancangan pilih edit HTML
3.Centang Expand Template Widget
4.Selanjutnya cari kode  ]]></b:skin>
5.Lalu masukkan Script dibawah ini diatas  ]]></b:skin>
Black-Market7:
#retina{
/* The Retina effect */
background:url('https://lh6.googleusercontent.com/-LaYnyg68bhI/TXpYIphprdI/AAAAAAAACAA/_p6jmB0e51o/s1600/00385.jpg') no-repeat center center white;
border:2px solid white;
/* Positioned absolutely, so we can move it around */
position:absolute;
height:180px;
width:180px;
/* Hidden by default */
display:none;
/* A blank cursor, notice the default fallback */
cursor:url('http://demo.tutorialzine.com/2010/06/apple-like-retina-effect-jquery-css/img/blank.cur'),default;
/* CSS3 Box Shadow */
-moz-box-shadow:0 0 5px #777, 0 0 10px #aaa inset;
-webkit-box-shadow:0 0 5px #777;
box-shadow:0 0 5px #777, 0 0 10px #aaa inset;
/* CSS3 rounded corners */
-moz-border-radius:90px;
-webkit-border-radius:90px;
border-radius:90px;
}
#retina.chrome{
/* A special chrome version of the cursor */
cursor:url('http://demo.tutorialzine.com/2010/06/apple-like-retina-effect-jquery-css/img/blank_google_chrome.cur'),default;
}

#main{
/* The main div */
margin:40px auto;
position:relative;
width:750px;
}
#iphone{
/* The iphone frame div */
width:750px;
height:400px;
background:url('http://3.bp.blogspot.com/-jq6HiU9j07M/TkaTxoQSa0I/AAAAAAAAE3g/vnNK3RpMzuU/s1600/iphone_4G.png') no-repeat center center;
position:relative;
}

#webpage{
/* Contains the webpage screenshot */
width:499px;
height:283px;
position:absolute;
top:50%;
left:50%;
margin:-141px 0 0 -249px;
}
6.Kemudian cari kode </head> dan masukkan script dibawah ini diatas kode </head>
Black-Market7:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src=' http://tutorailblogger.googlecode.com/files/aplle.js' type='text/javascript'/>
7.Dan ini kode HTML silahkan anda pasang di bawah tag <body>
Black-Market7:
<div id="main">
<div id="iphone">
<div id="webpage">
<img src="https://lh6.googleusercontent.com/-LaYnyg68bhI/TXpYIphprdI/AAAAAAAACAA/_p6jmB0e51o/s1600/00385.jpg" width="499" height="283" alt="Web Page" />
<div id="retina">
</div>
</div>
</div>
8.Simpan templates anda

DEMO


============================================================== ==============================================================
 terimakasih telah berkunjung ke black-market7.blogspot.com ============================================================== ==============================================================


.: Artikel Terkait :.

0 komentar:

Posting Komentar

Silahkan berkomentar asalkan tidak mengandung SPAM/SARA, jika komentar mengandng spam maka komentar tidak akan ditampilkan atau dihapus oleh admin blog ini. TERIMAKASIH

Follow by Email

Facebook