Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="thumbnail-list">
- <a href="../01/">
- <img src="images/infographic_sm.jpg" width="200" height="146">
- <span class="thumbnail-text"><span>AmLaw 200<br><div class="caption">Print, Infographic</div></span></span>
- </a>
- .thumbnail-list {
- float: left;
- margin: 0 25 25 0;
- position: relative;
- text-align: center;
- }
- span.thumbnail-text {
- background: #f94639;
- color: white;
- font-family: helvetica, arial, sans-serif;
- font-size: 19px;
- line-height: 1.15;
- letter-spacing: .5px;
- cursor: pointer;
- display: table;
- height: 146px;
- left: 0;
- position: absolute;
- top: 0;
- width: 200px;
- opacity: 0;
- -webkit-transition: opacity 500ms;
- -moz-transition: opacity 500ms;
- -o-transition: opacity 500ms;
- transition: opacity 500ms;
- }
- span.thumbnail-text span {
- display: table-cell;
- text-align: left;
- padding: 75px 0 0 15px;
- }
- .caption {
- font-family: helvetica, arial, sans-serif;
- font-size: 12px;
- color: white;
- padding: 8 0 0 0;
- text-align: left;
- position: left;
- line-height: 15px;
- }
- .thumbnail-list a:hover span.thumbnail-text {
- opacity: 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement