Responsive image gallery interface design with beautiful shadow effect, gallery interface design
This is a responsive image gallery interface design with beautiful shadow effects. Each image in the image gallery has a cool shadow at the bottom. It uses a grid layout. The number of columns of an image changes accordingly with the size of the browser's screen. The effect is very cool.
Download Online Preview source code
Production Method HTML Structure
This image gallery uses<div>
RMB is used as the package container. The unordered list is used as the image mesh system. Thedata-tooltip
This attribute is used to create the title effect of an image.
<div class="wrapper"> <ul class="gallery"> <li> <a href="#" class="gallery_links" data-tooltip="Country scenery"> </a> </li> ...... </ul></div>
CSS style
In the CSS style, the entire package Element.wrapper
Center. The entire unordered list uses relative positioning,
.wrapper { margin: 0 auto; margin-top:2%; } ul.gallery { position: relative; z-index: 1; overflow: hidden; list-style: none; padding:5px;}
Unordered list<li>
Set the display mode of the elementdisplay:inline-block
To make all<li>
Elements can be arranged one by one to form a grid. In addition, a fixed width, height, and shadow effect are set for each mesh.