Css Image Galeri Responsive

Posting Komentar
Css Image Galeri Responsive
Css Image Galeri Responsive
Selamat datang kembali anak kids zaman now, berjumpa kembali dengan si semut hitam manis, ditutorial kali ini saya akan memberikan tutorial untuk anda petualang tutorial gratis, CSS Image Galeri Responsive tanpa banyak basa basi bisa langsung saja kita menuju kekoding dibawah ini :


<html> <head> <style> div.gallery { margin: 5px; border: 1px solid #ccc; float: left; width: 180px; } div.gallery:hover { border: 1px solid #777; } div.gallery img { width: 100%; height: auto; } div.desc { padding: 15px; text-align: center; } </style> </head> <body> <div class="gallery"> <a href="https://draft.blogger.com/img_fjords.jpg" target="_blank"> <img alt="Trolltunga Norway" height="200" src="img_fjords.jpg" width="300" /> </a> <div class="desc"> Add a description of the image here</div> </div> <div class="gallery"> <a href="https://draft.blogger.com/img_forest.jpg" target="_blank"> <img alt="Forest" height="400" src="img_forest.jpg" width="600" /> </a> <div class="desc"> Add a description of the image here</div> </div> <div class="gallery"> <a href="https://draft.blogger.com/img_lights.jpg" target="_blank"> <img alt="Northern Lights" height="400" src="img_lights.jpg" width="600" /> </a> <div class="desc"> Add a description of the image here</div> </div> <div class="gallery"> <a href="https://draft.blogger.com/img_mountains.jpg" target="_blank"> <img alt="Mountains" height="400" src="img_mountains.jpg" width="600" /> </a> <div class="desc"> Add a description of the image here</div> </div> </body> </html>

diatas kode lengkapnya silakan dikopas kelembar kerja anda

Related Posts

Posting Komentar