Responsive image gallery interface design with beautiful shadow effect, gallery interface design

Source: Internet
Author: User

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-tooltipThis 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.wrapperCenter. 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-blockTo 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.