Вверх страницы
Вниз страницы

happy little pill

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » happy little pill » Тестовый форум » ///


///

Сообщений 1 страница 2 из 2

1

Код:
<!--HTML-->
<style type="text/css">
#thtabcontainer { width: 500px; height: 500px; background-color: #878181; position: relative; background-image: url(http://imgdepo.com/id/i10180288); }
.thcontimage img { position: absolute; right: 0px; top: 0px; width: 325px; height: 500px; }
.thooc { position: absolute; bottom: 40px; left: 25px; width: 105px; padding: 10px; font-family: open sans; font-size: 8px; letter-spacing: 1px; line-height: 8px; color: white; text-transform: uppercase; }


.tab label { display: block; width: 50px; background: #502e10; color: #fff; padding: 15px; font: 7px open sans; text-transform: uppercase; letter-spacing: 3px; text-align: right; position: absolute; right: 325px; top: 200px; }
.tab [type=radio] { display: none; }

[type=radio]:checked ~ label { background: #af997b; color: #FFF; border-bottom: 0px; z-index: 2; }
[type=radio]:checked ~ label ~ .thcontent { z-index: 1; opacity: 1; filter: alpha(opacity=100); }
.thcontent { width: 300px; position: absolute; top: 12px; left: 187px; float: right; right: 12px; bottom: 12px; text-align: justify; opacity: 0; filter: alpha(opacity=0); }
[type=radio]:checked ~ label { background: #af997b; color: #502e10; border-bottom: 0px; z-index: 2; }
[type=radio]:checked ~ label ~ .thcontent { z-index: 1; }


.thfirsttab { text-align: center; width: 300px; position: absolute; bottom: 40px; left: 0px; background-color: rgba(255,255,255,0.8);  
 line-height: 90px; color: #111; text-shadow:#ded2c4 2px 0px 1px; font-size: 20px; 
letter-spacing:1px; font-family:Poiret One; font-style:italic; text-transform:uppercase }


.thappcontent { background-color: rgba(255,255,255,0.8); padding: 20px; font-family: open sans; font-size: 11px; line-height: 11px; letter-spacing: 1px; height: 432px; overflow: auto; color: #000; }

.thappcontent2 { background-color: rgba(255,255,255,0.8); padding: 20px; font-family: open sans; font-size: 13px; line-height: 17px; letter-spacing: 1px; height: 257px; overflow: auto; margin-top:88px; color:#000;}

{
    padding: 0;
    margin: 0;
}

<!-- ЗДЕСЬ ВАШЕ ФОТО 325х500 -->
.img{
    width: 325px;
    height: 500px;
    margin-right: -175px;
    background: url(http://placehold.it/325x500) no-repeat;
}
.img-overlay{
    width: 100%;
    height: 100%;
    background: rgba(41,29,13,0.5);
}

</style>
<center>

<div id="thtabcontainer">
<div class="thcontimage">
<div class="img">
<div class="img-overlay"></div>
</div>
</div>
<div class="thooc"><b>

цитата


</b></div>
<div class="tabs">
 
<div class="tab">
    <input type="radio" id="tab-1" name="tab-group-1" checked>
    <label for="tab-1">one</label><div class="thcontent"><div class="thfirsttab">

surname name

</div></div> </div>
<div class="tab">
    <input type="radio" id="tab-2" name="tab-group-1">
    <label for="tab-2" style="margin-top: 42px;">two</label><div class="thcontent">
<div class="thappcontent2">

- - - 001.<br>
<b>имя:</b> имя на рус.<br>
<b>дата рождения:</b> 00.00.00<br>
<b>возраст:</b> 00 y.o.<br>
<b>ориентация:</b> ответ<br>
- - - 002.<br>
<b>каста:</b> текст<br>
<b>текст:</b> текст<br>
<b>текст:</b> текст<br>
<b>текст:</b> текст<br>
<b>текст:</b>текст<br>
- - - 003.<br>
<b>связь:</b> ответ<br>

</div>
</div>
<div class="tab">
    <input type="radio" id="tab-3" name="tab-group-1">
    <label for="tab-3" style="margin-top: 84px;">three</label><div class="thcontent"><div class="thappcontent">

<!-- <i></i> курсив, <b></b> жирный текст, <br></br> новая строка, <center></center> текст по центру -->

ОБЩЕЕ ОПИСАНИЕ ПЕРСОНАЖА.

</div>
    </div> 
</div>

 
</div>
</div>
</center>

0

2

Код:
<!--HTML-->

<style>

#ground { 
width: 500px;
height: 500px; 
background-color: #ddcbd6; 
}

.role { 
width: 389px;
height: 389px; 
background-color: #d0b6c3; 
border: 4px solid #ecdde6; 
position: relative;
top: 50px;
}

.txt {
font-family: Stackyard PERSONAL USE;
font-size: 55px;
color: #a77f95;
text-shadow: 1px 1px #fff; 
position: relative;
top: -50px;
}

<center>
<div id="ground"> 
<div class="role"> 
<p class="txt">Name</p>
</div>
</div>
</center>

0


Вы здесь » happy little pill » Тестовый форум » ///


Рейтинг форумов | Создать форум бесплатно