http://cttw.jcink.net/index.php?showtopic=1861
Код:
<!--HTML--><style type="text/css"> #closer .head { width: 300px; margin: 25px auto; overflow: hidden; } #closer .head .box { display: block; background-color: #d6e0b4; padding: 40px; text-align: right; color: #fff; font-family: pt serif; line-height: 70%; } #closer .head .box h1 { font-style: italic; text-transform: lowercase; letter-spacing: 0px; font-size: 19px; } #closer .head .box h2 { text-transform: uppercase; letter-spacing: 1px; font-size: 8px; margin-top: -5px; } .myImCont { width: 100px; height: 100px; margin: 100px auto; background: #fff; overflow: hidden; transform: rotate(45deg); position: relative; margin-top: -50px; margin-left: 50px; } .myImCont .myIm { display: block; width: 200px; background-image:url(http://placehold.it/100x100); height: 200px; background-position: center center; position: relative; margin: -42px 0 0 -42px; transform: rotate(-45deg); } .myImCont .myIm .hov { position: absolute; width: 200px; height: 220px; background: rgba(0,0,0,0.8); z-index: 2; bottom: -300px; left: 0px; text-align: center; font-size: 12px; text-transform: uppercase; font-weight: normal; font-family: pt serif; color: #fff; text-align: center; letter-spacing: 1px; padding-top: 60px; box-sizing: border-box; transition: all 0.25s ease-in-out; } .myImCont:hover .myIm .hov { bottom: -40px; } .myImCont .myIm .hov h3 { font-family: pt sans; font-size: 9px; text-transform: uppercase; } #closer .textmore { font-family: calibri; font-size: 8px; letter-spacing: 1px; font-weight: bold; text-transform: uppercase; width: 150px; float: right; margin-top: -110px; text-align: right; padding-right: 20px; } #closer .moretext { border-bottom: 1px solid #d6e0b4; padding: 20px; font-family: verdana; font-size: 10px; text-align: justify; margin-top: -80px; line-height: 125%; } .merc_cred { text-align: center; font-family: calibri; font-size: 7px; text-transform: uppercase; margin-top: -20px; margin-bottom: 25px; }</style> <link href='http://fonts.googleapis.com/css?family=PT+Serif:400,700,400italic' rel='stylesheet' type='text/css'> <div id="closer"> <div class="head"> <div class="box"> <h1>+ night is young</h1> <h2>and we're living</h2> </div> <div class="myImCont"> <div class="myIm"> <div class="hov"><h3>A. LIMA / 32</h3></div> </div> </div> <div class="textmore"> RELATION / GROUP </div> <div class="moretext"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div> </div> </div> <div class="merc_cred"><a href="http://cttw.jcink.net/index.php?showuser=160">merc</a></div>