Trying to create a WEB interface for my local comic book collection. Look'n'feel should be very similar to Apple iBooks - books cover meetings on bookshelves. Coatings are similar but not identical in height and width. It is impossible to figure out how to press image covers on the bottom of a div without specifying the width of the containing div. A transition with an absolute internal relative simply stacks the covers.
HTML:
<div class="cover"><a href="#"><img src="cover1.jpg"></a></div>
<div class="cover"><a href="#"><img src="cover2.jpg"></a></div>
<div class="cover"><a href="#"><img src="cover3.jpg"></a></div>
CSS
body {background-image: url(http://image.bayimg.com/oaddpaaea.jpg); background-repeat: repeat;}
.cover {float: left; height: 258px; border: 1px solid red; margin: 0px 5px 25px 5px;}
.cover img {border: 1px solid green; -webkit-box-shadow: 0 8px 6px -6px black; -moz-box-shadow: 0 8px 6px -6px black; box-shadow: 0 8px 6px -6px black;}
jsFiddle Example:
http://jsfiddle.net/NATqD/
source
share