I am trying to position images on a webpage in sort of "thought cloud" effect as per my image below. These will eventually become links to the other pages on the site and serve as the navigation.
What I have so far is an upside-down pyramid of centred images as below. They look OK but I would like them to have more of a free floating feel within the allowed area, whilst remaining responsive to the resolution.
Any advice on a css/JavaScript solution much appreciated.
.middle {
text-align: center;
}
div.middle>a>img {
width: 5%;
height: auto;
margin: 1%;
display: inline-block;
}
div.middle>a>img:hover {
-webkit-transform:scale(1.25); /* Safari and Chrome */
-moz-transform:scale(1.25); /* Firefox */
-ms-transform:scale(1.25); /* IE 9 */
-o-transform:scale(1.25); /* Opera */
transform:scale(1.25);
}
.bottom {
text-align: center;
position: bottom;
}
<html lang="en">
<div class="middle">
<a href="#">
<img src="https://s-media-cache-ak0.pinimg.com/236x/cd/60/1b/cd601b925a3a4e9d8f014628cdc5319f.jpg"></img>
</a>
<a href="#">
<img src="http://cache3.asset-cache.net/xc/483563191.jpg?v=2&c=IWSAsset&k=2&d=dfVQxw_RW01UllXQDJmANBGyEsfRlCvmFFMTHdsW-_udu5G3Hp3lOIXpI8ZvjGSw0" class="img-responsive"></img>
</a>
<a href="#">
<img href="#" src="http://gallerydrawing.net/wp-content/uploads/2015/10/flower-vase-drawing-image-CpJh.jpg" class="img-responsive"></img>
</a>
<br/>
<a href="#">
<a href="#"><img src="http://mhaycock.com/SiteImages/FrenchHorn.jpg" class="img-responsive"></img>
</a>
<a href="#">
<img href="#" src="https://s-media-cache-ak0.pinimg.com/736x/58/82/0f/58820fd15cfc243b51df0f79aa209569.jpg" class="img-responsive"></img>
</a>
<br/>
<a href="#">
<img src="https://thelingerieaddict-treaclemediallc.netdna-ssl.com/wp-content/uploads/Vintage-Corset-1.jpg" class="img-responsive"></img>
</a>
</div>
<div class="bottom">
<img href="#" src="https://s-media-cache-ak0.pinimg.com/236x/6e/69/cc/6e69cc9a8f346afffa4e198fd68df3b3.jpg" class="img-responsive"></img>
</div>
</html>
` after each picture (so they'll be displayed as a vertical line instead of as a triangle). Also, in some of the styling there is an `!important` that overrides the specific styles for the images – Alvaro Montoro Dec 10 '15 at 13:32
between each image (?!). Now I just need to find out why there are blue lines through each row of images. Not a great intro to Wordpress! – notidaho Dec 10 '15 at 14:50