Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>i hope this will help you :-</p> <p><strong>HTML</strong></p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="magazinebookcase"&gt; &lt;div class="books"&gt; &lt;a title="Mag1" style="height:286px;width:16px;" href=""&gt;Book 1 &lt;/a&gt; &lt;/div&gt; &lt;div class="books"&gt; &lt;a title="Mag2" style="height:258px;width:48px;" href=""&gt;Book 2 &lt;/a&gt; &lt;/div&gt; &lt;div class="books"&gt; &lt;a title="Mag3" style="height:252px;width:38px;" href=""&gt; &lt;/a&gt; &lt;/div&gt; &lt;div class="books"&gt; &lt;a title="Mag4" style="height:258px;width:50px;" href=""&gt; &lt;/a&gt; &lt;/div&gt; &lt;div class="books"&gt; &lt;a title="Mag5" style="height:284px;width:14px;" href=""&gt; &lt;/a&gt; &lt;/div&gt; &lt;div class="clearfix"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p><strong>CSS</strong></p> <pre><code>.magazinebookcase { width: 100%; padding: 3px; vertical-align:bottom; } .magazinebookcase .clearfix { clear:both; } .magazinebookcase .books { text-align:center; display: table-cell; vertical-align: bottom; border: 1px solid #000; } .magazinebookcase a { display: block; word-break: break-all; color: #000; -moz-transform:rotate(30deg); } .magazinebookcase a:hover { background-color: #ccc; } </code></pre> <p><a href="http://jsfiddle.net/7vEdw/15/" rel="nofollow">DEMO</a></p> <p>For each link you will have make different class this is a demo for you.. as per your requirement....</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload