2

Inline Layout Switch Ideas

 1 year ago
source link: https://tympanus.net/codrops/2022/11/22/inline-layout-switch-ideas/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Inline Layout Switch Ideas

Two ideas for animating images from an inline layout to a column or grid-based one.

By Mary Lou in Playground on November 22, 2022
inlinelayoutswitch_feat.jpg

From our sponsor:

After our last exploration of page transitions using covering elements we are now going to have a play with another kind of effect. The first idea is to have an inline-based layout with some text and images and then move the images to another column-based layout. The second idea is to hide the initial view using an animated clip-path, and show an underlying grid of images. The direction of motion in this animation is key to the effect.

The first experiment is quite similar to one of our previous demos which also shows an inline-based layout initially with some thumbnails that animate to a large version.

Our initial view of the first demo looks like this:

inlinelayoutswitch_01.jpg

The column based layout looks as follows:

inlinelayoutswitch_02.jpg

The animation looks like this:

The second demo shows how a clip-path can be used to create a page transition:

Hope you enjoy these two little experiments and find them useful!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK