IssueRaiser

Pure CSS implementation of Google Photos / 500px image layout

**This post is translated from Chinese, thanks to my sister Tian Qiong and my friend Tang Shuang for their hard work, and the original Chinese edition is here: https://github.com/xieranmaya/blog/issues/4** ## Pure CSS implementation of Google Photos / 500px image layout For sharing the secrets of getting most perfect effect in every step to the end, this can be a very long post. So you guys can jump to the part of code, demo and HOWs, which follow the last main title, if you don’t want to read it from the beginning. Or you can just check the source code of the bellow link. But my suggestion is to read it from the beginning, because it will help you understand the HOWs better with the information provided in the former part, which mainly solves the problem of some corner cases. First, let’s take a look at the result to make you more interested, resize or zoom the page to check the dynamic effect. https://xieranmaya.github.io/images/cats/cats.html ![image](https://cloud.githubusercontent.com/assets/2993947/14738104/5e28601c-08b2-11e6-8262-5351a575f3fb.png) Besides, to show the source code, jsbin.com is used in some demos that we will talk about later. But the jsbin.com sometimes may not work. If that happens, just rewrite the source code in the edit box without changing the meaning. For example, press the “enter” button in the last line. PS: All the images used in the demo are from 500px.com, the the images' copyright are belonging to the author, the images' id are in t

Posted by xieranmaya on Aug 22, 2016, 6:47 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,000 issues0 comments

github (Software)

Pure CSS implementation of Google Photos / 500px image layout

xieranmayaAug 22, 2016, 6:47 AM

**This post is translated from Chinese, thanks to my sister Tian Qiong and my friend Tang Shuang for their hard work, and the original Chinese edition is here: https://github.com/xieranmaya/blog/issues/4** ## Pure CSS implementation of Google Photos / 500px image layout For sharing the secrets of getting most perfect effect in every step to the end, this can be a very long post. So you guys can jump to the part of code, demo and HOWs, which follow the last main title, if you don’t want to read it from the beginning. Or you can just check the source code of the bellow link. But my suggestion is to read it from the beginning, because it will help you understand the HOWs better with the information provided in the former part, which mainly solves the problem of some corner cases. First, let’s take a look at the result to make you more interested, resize or zoom the page to check the dynamic effect. https://xieranmaya.github.io/images/cats/cats.html ![image](https://cloud.githubusercontent.com/assets/2993947/14738104/5e28601c-08b2-11e6-8262-5351a575f3fb.png) Besides, to show the source code, jsbin.com is used in some demos that we will talk about later. But the jsbin.com sometimes may not work. If that happens, just rewrite the source code in the edit box without changing the meaning. For example, press the “enter” button in the last line. PS: All the images used in the demo are from 500px.com, the the images' copyright are belonging to the author, the images' id are in t

Comments (0)

No comments yet. Start the discussion.

Comment on this issue