Day # 42: NY Paris



New York and Paris are my favorite cities in the world, so I decided to make a small tribute to them. Inspired by a split landing page I had seen, I decided to mimic that effect to show both cities next to one another.

The key here is to set the width’s of both pictures depending on which one you are hovering. To add that dynamism we obviously need to recur to Javascript, since it will allow us to exchange the classes to achieve said effect.

In the meantime, I was also able to learn a good deal of handling the styling of images, which is a delicate, complex yet mandatory ability that we need to have as frontend developers.

Comments

Popular posts from this blog

Day # 35: Flip Book

Day # 1: Homepage w/Introduction

Day # 8: Inspiration