2.Scroll down to where you see </head> tag .
3.Copy below code and paste it just before the </head> tag.
<style type='text/css'>
#inner-borders a img, #inner-borders a { border: none; overflow: hidden; float: left; }
#inner-borders a:hover { border: 3px solid #0000ff; }
#inner-borders a:hover img { margin: -3px; }
</style>
Note:You can change border color,border size,margin,... But both border size and margin must have a same numerical value.
4.Now add your images as below.
<div id="inner-borders">
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWQr36QS7wO7vPGgrxswinbNxsmkpK5WOg8H8lGtRQxZYDcVo3fjZMpkhEFCCQ0Je4qguZ-F8MKrVxtffjkGPJeH9nNyGdVosoagDv2OdqmszqphpTLtRkGHEB4XcyfNsi992NoeTf8Z_3/+1+small.jpg" alt="#" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJZVUo337fbTgtdzP0-KkEE-kv4j2Vg14mOqCSO1ywFY53YhLODypTm43FY7KsPuz6RTkIK_yFdojTRdUXx1UJWSgJntX1z-mQaEHVu2XzK0DTNIF16o-CLw2My6E1LUv8S4miyVCVedm6/+2+small.jpg" alt="#" /></a>
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6sHFpXILA5C8ULMrtOB4zX0sZvYYvVD8f_8eJZjypms3Z_UaQEymHwRAChckSqpQRgaZm_uLA6tsflJcKVki9hMuJ_Rfz2XO_996Lt_D-ULMqjtDwSQoDOVXw6n12lX2z-4t7DJEoZyJM/+3+small.jpg" alt="#" /></a>
</div>
You are done.
Demo
0 comments:
Post a Comment