There are many dynamically designed websites where, with a decrease in browser size, images are reduced or reduced.
An example of this might be http://en.wikipedia.org/wiki/Main_Page
div in which text decreases as the size of the browser decreases. This happens until a certain point, when he simply decides to stop shrinking and just starts to close the text fields.
I would like to make this effect using the JSFiddle I'm working on: http://jsfiddle.net/MrLister/JwGuR/10/
If you stretch the size of the violin, you will see that the images adapt dynamically. The goal is to make it just stop shrinking at a certain point and just start overlaying or going around in these pictures. I want to do this because in the end it becomes so small that the text in each image overlaps and it looks bad.
Here is the CSS for the script:
.figure { position: relative; display:inline-block; max-width: 33%; } .figure .figcaption { text-align: center; height:0; top: 40%; width: 100%; font-size: 55px; color: white; position: absolute; z-index: 1; } .figure img { display: block; max-width: 100%; }
source share