meggi meg

Объявление

Да можно подумать, что я горю желанием быть в его жизни. Я всегда верила, что подобное счастье тоже, знаете ли, нужно заслужить. В моей голове было ещё много подобных мыслей, но вот озвучивать их я что-то не решалась и это было удивительно. Обычно я не утруждала себя молчанием, стараясь сразу высказать собеседнику все, что я о нем думаю, не играя в дружелюбие, если и правда не испытывала его к человеку. Мама всегда отчитывала меня за мой язык без костей и мозги без фильтров, хотя довольно часто и сама грешила подобным. Я вообще была очень похожа на свою мать. Думать мне следовало как можно быстрее. Мужчина явно не был настроен на долгий разговор, да и ждать пока я взвешу все «за» и «против» не собирался, о чем, собственно, и сообщил, весьма раздражённым голосом. Ну конечно, чего уж тут думать, сам владелец фирмы предлагает мне, глупой девице, работу, а я тут ещё и раздумываю. Интересно, а ему могло прийти в голову, что это в принципе не работа мечты, вернее не моей мечты? читать полностью
- ты намекаешь на то что хочешь скриптонита?
- Мне нравится скриптонит хд
- я знаю хд ты любишь узкоглазых

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

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


Вы здесь » meggi meg » welcome » штмл


штмл

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

1

[html]<div id="container">
<div class="ptabs">
<input id="tab1" type="radio" name="ptabs" checked>
<label class="knop1" for="tab1">администрация</label>
<input id="tab2" type="radio" name="ptabs">
<label for="tab2">правопорядок</label>
<input id="tab3" type="radio" name="ptabs">
<label for="tab3">медицина</label>
<input id="tab4" type="radio" name="ptabs">
  <label for="tab4">образование</label>
<input id="tab5" type="radio" name="ptabs">
  <label for="tab5">искусство</label>
<input id="tab6" type="radio" name="ptabs">
  <label for="tab6">сми</label>
<input id="tab7" type="radio" name="ptabs">
  <label for="tab7">бизнес</label>
<input id="tab8" type="radio" name="ptabs">
  <label for="tab8">спорт</label>
<input id="tab9" type="radio" name="ptabs">
  <label for="tab9">криминал</label>
<input id="tab10" type="radio" name="ptabs">
  <label for="tab10">другое</label>

<section id="content1">
<p>Описание</p>
</section> 

<section id="content2">
<p>Описание</p>
</section> 

<section id="content3">
<p>Сайт ZORNET - Сегодня многие мечтают иметь собственный сайт, для разного рода деятельности, но, к сожалению не все знают о том, что можно создать сайт совершенно бесплатно. И это не обман, вам действительно не нужны средства для того чтобы создать себе любого вида сайт. 
Такая возможность имеется благодаря конструктору uCoz. Все что необходимо это пройти регистрацию на странице создания сайтов.  Сайт ZORNET - Сегодня многие мечтают иметь собственный сайт, для разного рода деятельности, но, к сожалению не все знают о том, что можно создать сайт совершенно бесплатно. И это не обман, вам действительно не нужны средства для того чтобы создать себе любого вида сайт. 
Такая возможность имеется благодаря конструктору uCoz. Все что необходимо это пройти регистрацию на странице создания сайтов.  Сайт ZORNET - Сегодня многие мечтают иметь собственный сайт, для разного рода деятельности, но, к сожалению не все знают о том, что можно создать сайт совершенно бесплатно. И это не обман, вам действительно не нужны средства для того чтобы создать себе любого вида сайт. 
Такая возможность имеется благодаря конструктору uCoz. Все что необходимо это пройти регистрацию на странице создания сайтов. 
</p>
</section> 

<section id="content4">
<p>Описание</p>
</section> 

<section id="content5">
<p>Описание</p>
</section>

<section id="content6">
<p>Описание</p>
</section>

<section id="content7">
<p>Описание</p>
</section>

<section id="content8">
<p>Описание</p>
</section>

<section id="content9">
<p>Описание</p>
</section>

<section id="content10">
<p>Описание</p>
</section> 

</div></div>


<style>

*{box-sizing:border-box}
.ptabs {
  height: 250px;
  width: 500px;
  padding: 0px;
  margin: 0 auto;
  position: relative;
  border: 1px solid #DEE8F2;
}
section {
    display: none;
    height: 250px;
    padding: 5px;
    background: white;
    position: absolute;
    top: 0;
    left: 100px;
    overflow: auto;
}

.knop1 {
  margin: 0;
}

p {
  margin: 0;
}
input {
  display: none;
}
label {
    display: block;
    width: 100px;
    padding: 5px 2px;
    color: #4F5966;
    background: #DEE8F2;
    cursor: pointer;
}
input:checked + label {
  color: #555;
  background: white;
}
#tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10 {
  display: block;
}
section {
  animation: scale 0.7s ease-in-out;
}
@keyframes scale {
  0% {
  transform: scale(0.9);
  opacity: 0;
  }
  50% {
  transform: scale(1.005);
  opacity: 0.5;
  }
  100% {
  transform: scale(1);
  opacity: 1;
  }
}

</style>[/html]

0

2

[html]
<style>
.meg{
    width: 540px;
    height: 350px;
    background: #f4f2f1;
    position: relative;}

.megban{   
    width: 540px;
    height: 50px;
    background: #d3ccc6;
    position: absolute;
    top: 10px;
}

.megbant1{   
    position: absolute;
    top: -31px;
    font-family: Mr Bedfort;
    left: 115px;
    font-size: 82px;
    color: #3a3a3a;
    text-shadow: 5px 4px 1px #d3ccc6;
}

.megbant2{   
    position: absolute;
    top: 13px;
    font-family: Century Gothic;
    left: 165px;
    font-weight: bolder;
    font-size: 18px;
    color: #3c3c3c;
}

.megbant3{   
    position: absolute;
    width: 20px;
    height: 45px;
    top: 10px;
    font-family: Century Gothic;
    left: 505px;
    font-weight: bolder;
    text-align: right;
    font-size: 12px;
    line-height: 24px;
}

.megbant3 a{   
    background: #d3ccc6;
    color: #5d5b5b!important;
    border-radius: 50px;
    padding: 1px 3px 4px 3px;
    border: 1px solid #b6b0ab;
}

.megbant3 a:hover{   
    background: #7298b3;
    color: #dfd9d5!important;
    padding: 1px 3px 4px 3px;
    border: 1px solid #536f88;
}

.megban img{
    height: 65px;
    position: absolute;
    left: 15px;
    top: -12px;
    border: 10px solid #d3ccc6;
    border-radius: 50%;
}
</style>

<div class="meg">
<div class="megban"><img src="https://funkyimg.com/i/388FM.gif"><div class="megbant1">N</div><div class="megbant2">ice to meet you</div></div>
<div class="megbant3">
<a href="https://vk.com/xlady">вк</a><br>
<a href="http://imagiart.ru/messages.php?action=new&uid=11601">лс</a>
</div>

</div>

[/html]

0

3

Код:
.punbb input.button:hover { 
    box-shadow: 0px 0px 0 1px #c79074 inset, inset 0 -10px 6px #ca8d6e, 0 0px 1px #ffffff;
}
скролл

[html]
<ul class="slides">
    <input type="radio" name="radio-btn" id="img-1" checked />
    <li class="slide-container">
    <div class="slide">
    <img src="http://farm9.staticflickr.com/8072/8346734966_f9cd7d0941_z.jpg" />
        </div>
    <div class="nav">
    <label for="img-6" class="prev">&#x2039;</label>
    <label for="img-2" class="next">&#x203a;</label>
    </div>
    </li>

    <input type="radio" name="radio-btn" id="img-2" />
    <li class="slide-container">
        <div class="slide">
          <img src="http://farm9.staticflickr.com/8504/8365873811_d32571df3d_z.jpg" />
        </div>
    <div class="nav">
    <label for="img-1" class="prev">&#x2039;</label>
    <label for="img-3" class="next">&#x203a;</label>
    </div>
    </li>

    <input type="radio" name="radio-btn" id="img-3" />
    <li class="slide-container">
        <div class="slide">
          <img src="http://farm9.staticflickr.com/8068/8250438572_d1a5917072_z.jpg" />
        </div>
    <div class="nav">
    <label for="img-2" class="prev">&#x2039;</label>
    <label for="img-4" class="next">&#x203a;</label>
    </div>
    </li>

    <input type="radio" name="radio-btn" id="img-4" />
    <li class="slide-container">
        <div class="slide">
          <img src="http://farm9.staticflickr.com/8061/8237246833_54d8fa37f0_z.jpg" />
        </div>
    <div class="nav">
    <label for="img-3" class="prev">&#x2039;</label>
    <label for="img-5" class="next">&#x203a;</label>
    </div>
    </li>

    <input type="radio" name="radio-btn" id="img-5" />
    <li class="slide-container">
        <div class="slide">
          <img src="http://farm9.staticflickr.com/8055/8098750623_66292a35c0_z.jpg" />
        </div>
    <div class="nav">
    <label for="img-4" class="prev">&#x2039;</label>
    <label for="img-6" class="next">&#x203a;</label>
    </div>
    </li>

    <input type="radio" name="radio-btn" id="img-6" />
    <li class="slide-container">
        <div class="slide">
          <img src="http://farm9.staticflickr.com/8195/8098750703_797e102da2_z.jpg" />
        </div>
    <div class="nav">
    <label for="img-5" class="prev">&#x2039;</label>
    <label for="img-1" class="next">&#x203a;</label>
    </div>
    </li>

    <li class="nav-dots">
      <label for="img-1" class="nav-dot" id="img-dot-1"></label>
      <label for="img-2" class="nav-dot" id="img-dot-2"></label>
      <label for="img-3" class="nav-dot" id="img-dot-3"></label>
      <label for="img-4" class="nav-dot" id="img-dot-4"></label>
      <label for="img-5" class="nav-dot" id="img-dot-5"></label>
      <label for="img-6" class="nav-dot" id="img-dot-6"></label>
    </li>
</ul>

[/html]

текст
Код:
@import url(https://fonts.googleapis.com/css?family=Varela+Round);

html, body { background: #333 url("https://codepen.io/images/classy_fabric.png"); }

.slides {
    padding: 0;
    width: 609px;
    height: 420px;
    display: block;
    margin: 0 auto;
    position: relative;
}

.slides * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.slides input { display: none; }

.slide-container { display: block; }

.slide {
    top: 0;
    opacity: 0;
    width: 609px;
    height: 420px;
    display: block;
    position: absolute;

    transform: scale(0);

    transition: all .7s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
}

.nav label {
    width: 200px;
    height: 100%;
    display: none;
    position: absolute;
    opacity: 0;
    z-index: 9;
    cursor: pointer;

    transition: opacity .2s;

    color: #FFF;
    font-size: 156pt;
    text-align: center;
    line-height: 380px;
    font-family: "Varela Round", sans-serif;
    background-color: rgba(255, 255, 255, .3);
    text-shadow: 0px 0px 15px rgb(119, 119, 119);
}

.slide:hover + .nav label { opacity: 0.5; }

.nav label:hover { opacity: 1; }

.nav .next { right: 0; }

input:checked + .slide-container  .slide {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease-in-out;
}

input:checked + .slide-container .nav label { display: block; }

.nav-dots {
	width: 100%;
	bottom: 9px;
	height: 11px;
	display: block;
	position: absolute;
	text-align: center;
}

.nav-dots .nav-dot {
	top: -5px;
	width: 11px;
	height: 11px;
	margin: 0 4px;
	position: relative;
	border-radius: 100%;
	display: inline-block;
	background-color: rgba(0, 0, 0, 0.6);
}

.nav-dots .nav-dot:hover {
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.8);
}

input#img-1:checked ~ .nav-dots label#img-dot-1,
input#img-2:checked ~ .nav-dots label#img-dot-2,
input#img-3:checked ~ .nav-dots label#img-dot-3,
input#img-4:checked ~ .nav-dots label#img-dot-4,
input#img-5:checked ~ .nav-dots label#img-dot-5,
input#img-6:checked ~ .nav-dots label#img-dot-6 {
	background: rgba(0, 0, 0, 0.8);
}

0

4

[html]
<style>
#slider{
  width:630px;
  border:4px solid #fff;;
  outline:1px solid #999;
  height:320px;
  margin:-315px auto;
  background:-webkit-radial-gradient(#ffefce, #fcd78d);
  background:-moz-radial-gradient(#ffefce, #fcd78d);
  background:-ms-radial-gradient(#ffefce, #fcd78d);
  background:-o-radial-gradient(#ffefce, #fcd78d);
  background:radial-gradient(#ffefce, #fcd78d);
}
#allpic{
  width:70px;
  height:300px;
  background:#ccc;
  margin:5px 0 0 5px;
  float:left;
  transition:all .5s ease-out;
  overflow:hidden;
  border:2px solid #fff;;
  outline:1px solid #999;
}
#allpic:hover {
  width:300px;
}
#shadow{
  width:600px;
  height:30px;
  margin:330px auto 0;
  border-radius:50%;
  box-shadow:0px 12px 10px 3px rgba(0,0,0, 0.5);
}
</style>

<div id="shadow">
</div>

<div id="slider">
 
    <div id="allpic">
      <img src="http://www.coolusbtoys.com/wp-content/Angry-Birds-space-Calendar-2013.jpg"/>
    </div>
    <div id="allpic">
      <img src="http://i4.ytimg.com/sh/G2lfbxaIEy4/showposter.jpg?v=4fbb28d7"/>
    </div>
  <div id="allpic">
      <img src="http://ec2.images-amazon.com/images/I/41hmD1hLmBL._SL500_AA300_.jpg"/>
    </div>
  <div id="allpic">
      <img src="https://1.bp.blogspot.com/-55F_zXg6TKI/UKB6cCTZ1XI/AAAAAAAAB3c/um9nqYtzfY4/s1600/61bEcpAzU0L._SL500_AA300_.jpg"/>
    </div>
  <div id="allpic">
      <img src="https://1.bp.blogspot.com/-55F_zXg6TKI/UKB6cCTZ1XI/AAAAAAAAB3c/um9nqYtzfY4/s1600/61bEcpAzU0L._SL500_AA300_.jpg"/>
    </div>
 
 
 
</div><!-- slider end -->

[/html]

0

5

[html]
<style>
* {
  margin: 0;
  padding: 0;
}

body {
  padding: 20px;
  background: #eee;
  user-select: none;
}

[type=radio] {
  display: none;
}

#slider {
  height: 35vw;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

#slider label {
  margin: auto;
  width: 60%;
  height: 100%;
  border-radius: 4px;
  position: absolute;
  left: 0; right: 0;
  cursor: pointer;
  transition: transform 0.4s ease;
}

#s1:checked ~ #slide4, #s2:checked ~ #slide5,
#s3:checked ~ #slide1, #s4:checked ~ #slide2,
#s5:checked ~ #slide3 {
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.37);
  transform: translate3d(-30%,0,-200px);
}

#s1:checked ~ #slide5, #s2:checked ~ #slide1,
#s3:checked ~ #slide2, #s4:checked ~ #slide3,
#s5:checked ~ #slide4 {
  box-shadow: 0 6px 10px 0 rgba(0,0,0,.3), 0 2px 2px 0 rgba(0,0,0,.2);
  transform: translate3d(-15%,0,-100px);
}

#s1:checked ~ #slide1, #s2:checked ~ #slide2,
#s3:checked ~ #slide3, #s4:checked ~ #slide4,
#s5:checked ~ #slide5 {
  box-shadow: 0 13px 25px 0 rgba(0,0,0,.3), 0 11px 7px 0 rgba(0,0,0,.19);
  transform: translate3d(0,0,0);
}

#s1:checked ~ #slide2, #s2:checked ~ #slide3,
#s3:checked ~ #slide4, #s4:checked ~ #slide5,
#s5:checked ~ #slide1 {
  box-shadow: 0 6px 10px 0 rgba(0,0,0,.3), 0 2px 2px 0 rgba(0,0,0,.2);
  transform: translate3d(15%,0,-100px);
}

#s1:checked ~ #slide3, #s2:checked ~ #slide4,
#s3:checked ~ #slide5, #s4:checked ~ #slide1,
#s5:checked ~ #slide2 {
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.37);
  transform: translate3d(30%,0,-200px);
}

#slide1 { background: #00BCD4 }
#slide2 { background: #4CAF50 }
#slide3 { background: #CDDC39 }
#slide4 { background: #FFC107 }
#slide5 { background: #FF5722 }
</style>

<section id="slider">
  <input type="radio" name="slider" id="s1">
  <input type="radio" name="slider" id="s2">
  <input type="radio" name="slider" id="s3" checked>
  <input type="radio" name="slider" id="s4">
  <input type="radio" name="slider" id="s5">
  <label for="s1" id="slide1"></label>
  <label for="s2" id="slide2"></label>
  <label for="s3" id="slide3"></label>
  <label for="s4" id="slide4"></label>
  <label for="s5" id="slide5"></label>
</section>

[/html]

0

6

[html]
<style>
#slider {
   margin: 0 auto;
   width: 800px;
   max-width: 100%;
   text-align: center;
}
#slider input[type=radio] {
   display: none;
}
#slider label {
   cursor:pointer;
   text-decoration: none;
}
#slides {
   padding: 10px;
   border: 3px solid #ccc;
   background: #fff;
   position: relative;
   z-index: 1;
}
#overflow {
   width: 100%;
   overflow: hidden;
}
#slide1:checked ~ #slides .inner {
   margin-left: 0;
}
#slide2:checked ~ #slides .inner {
   margin-left: -100%;
}
#slide3:checked ~ #slides .inner {
   margin-left: -200%;
}
#slide4:checked ~ #slides .inner {
   margin-left: -300%;
}
#slides .inner {
   transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
   width: 400%;
   line-height: 0;
   height: 300px;
}
#slides .slide {
   width: 25%;
   float:left;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100%;
   color: #fff;
}
#slides .slide_1 {
   background: #00171F;
}
#slides .slide_2 {
   background: #003459;
}
#slides .slide_3 {
   background: #007EA7;
}
#slides .slide_4 {
   background: #00A8E8;
}
#controls {
   margin: -180px 0 0 0;
   width: 100%;
   height: 50px;
   z-index: 3;
   position: relative;
}
#controls label {
   transition: opacity 0.2s ease-out;
   display: none;
   width: 50px;
   height: 50px;
   opacity: .4;
}
#controls label:hover {
   opacity: 1;
}
#slide1:checked ~ #controls label:nth-child(2),
#slide2:checked ~ #controls label:nth-child(3),
#slide3:checked ~ #controls label:nth-child(4),
#slide4:checked ~ #controls label:nth-child(1) {
   background: url(https://image.flaticon.com/icons/svg/130/130884.svg) no-repeat;
   float:right;
   margin: 0 -50px 0 0;
   display: block;
}
#slide1:checked ~ #controls label:nth-last-child(2),
#slide2:checked ~ #controls label:nth-last-child(3),
#slide3:checked ~ #controls label:nth-last-child(4),
#slide4:checked ~ #controls label:nth-last-child(1) {
   background: url(https://image.flaticon.com/icons/svg/130/130882.svg) no-repeat;
   float:left;
   margin: 0 0 0 -50px;
   display: block;
}
#bullets {
   margin: 150px 0 0;
   text-align: center;
}
#bullets label {
   display: inline-block;
   width: 10px;
   height: 10px;
   border-radius:100%;
   background: #ccc;
   margin: 0 10px;
}
#slide1:checked ~ #bullets label:nth-child(1),
#slide2:checked ~ #bullets label:nth-child(2),
#slide3:checked ~ #bullets label:nth-child(3),
#slide4:checked ~ #bullets label:nth-child(4) {
   background: #444;
}
@media screen and (max-width: 900px) {
   #slide1:checked ~ #controls label:nth-child(2),
   #slide2:checked ~ #controls label:nth-child(3),
   #slide3:checked ~ #controls label:nth-child(4),
   #slide4:checked ~ #controls label:nth-child(1),
   #slide1:checked ~ #controls label:nth-last-child(2),
   #slide2:checked ~ #controls label:nth-last-child(3),
   #slide3:checked ~ #controls label:nth-last-child(4),
   #slide4:checked ~ #controls label:nth-last-child(1) {
      margin: 0;
   }
   #slides {
      max-width: calc(100% - 140px);
      margin: 0 auto;
   }
}
</style>

<div id="slider">
   <input type="radio" name="slider" id="slide1" checked>
   <input type="radio" name="slider" id="slide2">
   <input type="radio" name="slider" id="slide3">
   <input type="radio" name="slider" id="slide4">
   <div id="slides">
      <div id="overflow">
         <div class="inner">
            <div class="slide slide_1">
               <div class="slide-content">
                  <h2>Slide 1</h2>
                  <p>Content for Slide 1</p>
               </div>
            </div>
            <div class="slide slide_2">
               <div class="slide-content">
                  <h2>Slide 2</h2>
                  <p>Content for Slide 2</p>
               </div>
            </div>
            <div class="slide slide_3">
               <div class="slide-content">
                  <h2>Slide 3</h2>
                  <p>Content for Slide 3</p>
               </div>
            </div>
            <div class="slide slide_4">
               <div class="slide-content">
                  <h2>Slide 4</h2>
                  <p>Content for Slide 4</p>
               </div>
            </div>
         </div>
      </div>
   </div>
   <div id="controls">
      <label for="slide1"></label>
      <label for="slide2"></label>
      <label for="slide3"></label>
      <label for="slide4"></label>
   </div>
   <div id="bullets">
      <label for="slide1"></label>
      <label for="slide2"></label>
      <label for="slide3"></label>
      <label for="slide4"></label>
   </div>
</div>

[/html]

0

7

[html]

<div class="tslider">
  <ul>
   
    <li>
      <div class="ttitle">стерва</div>
      <img src="https://thecelebscloset.com/wp-content/uploads/2019/08/custom_1566209251033-1.jpg" />
    </li>

     <li>
      <div class="ttitle">Food Photos</div>
       <img src="https://img.beatles.ru/news/201407/2014070519153757.jpg" />
    </li>

     <li>
       <div class="ttitle">Fashion Frame</div>
       <img src="https://pleasurephoto.files.wordpress.com/2012/10/sean-lennon-and-charlotte-kemp-muhl-paris-photographed-by-phil-oh.jpg" />           
    </li>

     <li>
      <div class="ttitle">Animal Pictures</div>
       <img src="https://akns-images.eonline.com/eol_images/Entire_Site/2015317/rs_1024x759-150417183530-1024.Sean-Lennon-Charlotte-Kemp-Muhl-Coachella.ms.041715.jpg" />
    </li>

</ul> 
</div>

<style>.tslider {
  width:245px;
  height:145px;
  overflow:hidden;
}

.tslider ul li {
  position:relative;
  display:block;
  float:left;
  width:65px;
  box-shadow:0 0 20px 1px rgba(22,22,22, 0.5);
  background: #865e01;
 
  -webkit-transition:all 0.5s ease;
  -moz-transition:all 0.5s ease;
  transition:all 0.5s ease;
}

.tslider ul:hover li { width:20px; }

.tslider ul li:hover { width:230px; }

.tslider li img { 
    display: block;
    width: 240px;
    filter: grayscale(1);
    mix-blend-mode: multiply;
}

.ttitle {
  position: absolute;
    left: 0;
    top: 90px;
    width: 240px;
    padding: 10px;
    font-family: century gothic;
    font-size: 14px;
    color: #fff;
    background: rgba(22,22,22,0.4);
}

.ttitle a {
  display:block;
  color:white;
  text-decoration:none;
}

.tslider ul { list-style-type:none; width:30000px; }
</style>
[/html]

0

8

[html]
<div class="slider">
<ul>
    <li><img src="https://peonyqueen.files.wordpress.com/2016/03/slid1.jpg" ></li>
    <li><img src="https://peonyqueen.files.wordpress.com/2016/03/slid2.jpg" ></li>
    <li><img src="https://peonyqueen.files.wordpress.com/2016/03/slid3.jpg" ></li>
</ul>

</div>
<style>.slider{
width:1000px;
height:400px;
margin:0 auto;
position:relative;
}
.slider ul{
margin:0;
padding:0;
list-style:none;
}
.slider ul li{
width:1000px;
height:400px;
position:absolute;
top:0;
left:0;
animation-iteration-count:infinite;
animation-duration:24s;
}

.slider ul li:nth-child(1){
animation-name:slider;
animation-delay:-3s;
}
.slider ul li:nth-child(2){
animation-name:slider;
animation-delay:2s;
opacity:0;
}
.slider ul li:nth-child(3){
animation-name:slider;
animation-delay:7s;
opacity:0;
}

@keyframes slider{
0%{
    opacity:0;
}
20.83%{
    opacity:1;
}
33.33%{
    opacity:1;
}
45.83%{
    opacity:0;
}
100%{
    opacity:0;
}
}</style>
[/html]

0

9

[html]
<div class="worko-tabs">
 
    <input class="state" type="radio" title="tab-one" name="tabs-state" id="tab-one" checked />
    <input class="state" type="radio" title="tab-two" name="tabs-state" id="tab-two" />
    <input class="state" type="radio" title="tab-three" name="tabs-state" id="tab-three" />
    <input class="state" type="radio" title="tab-four" name="tabs-state" id="tab-four" />

    <div class="tabs flex-tabs">
        <label for="tab-one" id="tab-one-label" class="tab">Tab One</label>
        <label for="tab-two" id="tab-two-label" class="tab">Tab Two</label>
        <label for="tab-three" id="tab-three-label" class="tab">Tab Three</label>
        <label for="tab-four" id="tab-four-label" class="tab">Tab Four</label>

        <div id="tab-one-panel" class="panel active">
          <h3>Responsive CSS Tabs - Flexbox</h3>
          <p>CSS only tabs built using flexbox, when the viewport drops below 600px wide the tabs turn into an accordion by chaging the flex order of the elements.</p>
        </div>
        <div id="tab-two-panel" class="panel">
            Tab two content
        </div>
        <div id="tab-three-panel" class="panel">
            Tab three content
        </div>
        <div id="tab-four-panel" class="panel">
            Tab four content
        </div>
    </div>

</div>


<style>
@import "bourbon";

/* Android 2.3 :checked fix */
@keyframes fake {
    from {
        opacity: 1;
    }
    to {
        opacity: 1;
    }
}
body {       
    animation: fake 1s infinite;
}

.worko-tabs {
    margin: 20px;
    width: 80%;
 
    .state{
      position: absolute;
      left: -10000px;
    }
 
    .flex-tabs{
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
       
        .tab{
          flex-grow: 1;
          max-height: 40px;
        }
     
        .panel {
          background-color: #fff;
          padding: 20px;
          min-height: 300px;
          display: none;
          width: 100%;
          flex-basis: auto;
      }
    }

    .tab {
      display: inline-block;
      padding: 10px;
      vertical-align: top;
      background-color: #eee;
      cursor: hand;
      cursor: pointer;
      border-left: 10px solid #ccc;
     
        &:hover{
          background-color: #fff;
        }
    } 
}

#tab-one:checked ~ .tabs #tab-one-label,
#tab-two:checked ~ .tabs #tab-two-label,
#tab-three:checked ~ .tabs #tab-three-label,
#tab-four:checked ~ .tabs #tab-four-label{
    background-color: #fff;
    cursor: default;
    border-left-color: #69be28;
}

#tab-one:checked ~ .tabs #tab-one-panel,
#tab-two:checked ~ .tabs #tab-two-panel,
#tab-three:checked ~ .tabs #tab-three-panel,
#tab-four:checked ~ .tabs #tab-four-panel{
    display: block;
}

@media (max-width: 600px){
  .flex-tabs{
    flex-direction: column;
   
    .tab{
      background: #fff;
      border-bottom: 1px solid #ccc;
     
        &:last-of-type{
          border-bottom: none;
        }
    }
   
    #tab-one-label{order:1;}
    #tab-two-label{order: 3;}
    #tab-three-label{order: 5;};
    #tab-four-label{order: 7;};
  }
 
    #tab-one:checked ~ .tabs #tab-one-label,
    #tab-two:checked ~ .tabs #tab-two-label,
    #tab-three:checked ~ .tabs #tab-three-label,
    #tab-four:checked ~ .tabs #tab-four-label{
      border-bottom: none;
    }
 
  #tab-one:checked ~ .tabs #tab-one-panel,
  #tab-two:checked ~ .tabs #tab-two-panel,
  #tab-three:checked ~ .tabs #tab-three-panel,
  #tab-four:checked ~ .tabs #tab-four-panel{
    border-bottom: 1px solid #ccc;
  }
}

<style>
[/html]

0

10

[html]
<main>
<h1>CSS Tabs Revisited</h1>
<input id="radio1" type="radio" name="css-tabs" checked>
<input id="radio2" type="radio" name="css-tabs">
<input id="radio3" type="radio" name="css-tabs">
<input id="radio4" type="radio" name="css-tabs">
<div id="tabs">
    <label id="tab1" for="radio1">Home</label>
    <label id="tab2" for="radio2">Services</label>
    <label id="tab3" for="radio3">Locations</label>
    <label id="tab4" for="radio4">Profile</label>
</div>
<div id="content">
    <section id="content1">
    <h3>Based on this Dribbble</h3>
    <p>
        <a href="https://dribbble.com/shots/509024-Tabbed-Menu">
        https://dribbble.com/shots/509024-Tabbed-Menu
        </a>
    </p>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed facilisis adipiscing risus, porttitor viverra urna condimentum et. Donec vestibulum lacus vel dolor dictum pellentesque. Aliquam sodales sem quis urna condimentum, sit amet elementum magna semper.</p>
    </section>
    <section id="content2">
    <h3>Something Clever</h3>
    <p>Aliquam condimentum hendrerit nisi, nec vestibulum mi feugiat ut. Donec lobortis nisi neque, in egestas eros venenatis eu. Vestibulum nulla nisi, venenatis at pretium id, fermentum quis risus. Quisque porta suscipit neque eu placerat. Etiam scelerisque, quam in sodales iaculis, velit velit mattis nunc, quis dapibus massa elit nec enim. Vivamus quis libero aliquam, volutpat nisl sed, consectetur ante.</p>
    <p>Donec aliquam semper felis, in placerat leo blandit in. Integer interdum elit quis felis tempor venenatis. In faucibus ac mauris id commodo. Proin in sapien tincidunt, luctus mi id, bibendum dui. Nunc tincidunt libero ut purus vehicula, sit amet tincidunt mi sollicitudin. Donec varius erat magna, sed convallis purus adipiscing ut. Duis sagittis ut leo ut auctor. Ut convallis nisl nec purus sollicitudin, nec iaculis felis rutrum. </p>
    </section>
    <section id="content3">
    <h3>Interesting Heading Text</h3>
    <p>Fusce pulvinar porttitor dui, eget ultrices nulla tincidunt vel. Suspendisse faucibus lacinia tellus, et viverra ligula. Suspendisse eget ipsum auctor, congue metus vel, dictum erat. Aenean tristique euismod molestie. Nulla rutrum accumsan nisl, ac semper sapien tincidunt et. Praesent tortor risus, commodo et sagittis nec, aliquam quis augue. Aenean non elit elementum, tempor metus at, aliquam felis.</p>
    </section>
    <section id="content4">
    <h3>Here Are Many Words</h3>
    <p>Vivamus convallis lectus lobortis dapibus ultricies. Sed fringilla vitae velit id rutrum. Maecenas metus felis, congue ut ante vitae, porta cursus risus. Nulla facilisi. Praesent vel ligula et erat euismod luctus. Etiam scelerisque placerat dapibus. Vivamus a mauris gravida urna mattis accumsan.</p>
    <p>Duis sagittis massa vel elit tincidunt, sed molestie lacus dictum. Mauris elementum, neque eu dapibus gravida, eros arcu euismod metus, vitae porttitor nibh elit at orci. Vestibulum laoreet id nulla sit amet mattis.</p>
    </section>
</div>
<footer>
    An original pen by <a href="https://codepen.io/ejsado/">Eric</a>.
</footer>
</main>

<style>

@import url(https://fonts.googleapis.com/css?family … ns:400,700);

body {
  background: #B1A7A0;
color: #FCF9F4;
  font-family: "Open Sans", "Arial";
}
main {
  max-width: 800px;
  margin: 30px auto;
background: #3F3F3D;
padding: 30px;
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
input[name=css-tabs] {
  display: none;
}
a {
color: #F29A77;
}
#tabs {
padding: 0 0 0 50px;
width: calc(100% + 50px);
margin-left: -50px;
background: #2B2A28;
height: 80px;
border-bottom: 5px solid #EB4E01;
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
#tabs::before {
content: "";
display: block;
position: absolute;
z-index: -100;
width: 100%;
left: 0;
margin-top: 16px;
height: 80px;
background: #2B2A28;
border-bottom: 5px solid #EB4E01;
}
#tabs::after {
content: "";
display: block;
position: absolute;
z-index: 0;
height: 80px;
width: 102px;
background: #EB4E01;
transition: transform 400ms;
}
#tabs label {
position: relative;
z-index: 100;
display: block;
float: left;
  font-size: 11px;
text-transform: uppercase;
text-align: center;
width: 100px;
height: 100%;
border-right: 1px dotted #575654;
cursor: pointer;
}
#tabs label:first-child {
border-left: 1px dotted #575654;
}
#tabs label::before {
content: "";
display: block;
height: 30px;
width: 30px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
filter: invert(40%);
margin: 10px auto;
}
#tab1::before {
background-image: url(https://s3-us-west-2.amazonaws.com/s.cd … -plane.png);
}
#tab2::before {
background-image: url(https://s3-us-west-2.amazonaws.com/s.cd … -cloud.png);
}
#tab3::before {
background-image: url(https://s3-us-west-2.amazonaws.com/s.cd … ochure.png);
}
#tab4::before {
background-image: url(https://s3-us-west-2.amazonaws.com/s.cd … ouette.png);
}
#radio1:checked ~ #tabs #tab1::before, #radio2:checked ~ #tabs #tab2::before, #radio3:checked ~ #tabs #tab3::before, #radio4:checked ~ #tabs #tab4::before {
filter: invert(100%);
}
#radio1:checked ~ #tabs::after {
transform: translateX(0);
}
#radio2:checked ~ #tabs::after {
transform: translateX(101px);
}
#radio3:checked ~ #tabs::after {
transform: translateX(202px);
}
#radio4:checked ~ #tabs::after {
transform: translateX(303px);
}
#content {
position: relative;
height: 500px;
}
#content::before {
content: "";
display: block;
position: absolute;
width: 0;
height: 0;
margin-left: -50px;
border-top: 8px solid #000;
border-right: 10px solid #000;
border-left: 10px solid transparent;
border-bottom: 8px solid transparent;
}
#content::after {
content: "";
display: block;
position: absolute;
width: 0;
height: 0;
margin-left: calc(100% + 30px);
border-top: 8px solid #000;
border-left: 10px solid #000;
border-right: 10px solid transparent;
border-bottom: 8px solid transparent;
}
#content section {
position: absolute;
transform: translateY(50px);
opacity: 0;
transition: transform 500ms, opacity 500ms;
}
#radio1:checked ~ #content #content1, #radio2:checked ~ #content #content2, #radio3:checked ~ #content #content3, #radio4:checked ~ #content #content4 {
transform: translateY(0);
opacity: 1;
}
footer {
  position: fixed;
  bottom: 0;
  right: 0;
  font-size: 13px;
  background: #555;
  padding: 5px 10px;
  margin: 5px;
}
</style>
[/html]

0

11

[html]

<div class="tabs">

  <input type="radio" id="tab1" name="tab-control" checked>
  <input type="radio" id="tab2" name="tab-control">
  <input type="radio" id="tab3" name="tab-control">
  <input type="radio" id="tab4" name="tab-control">
  <ul>
    <li title="Features"><label for="tab1" role="button"><svg viewBox="0 0 24 24">
          <path d="M14,2A8,8 0 0,0 6,10A8,8 0 0,0 14,18A8,8 0 0,0 22,10H20C20,13.32 17.32,16 14,16A6,6 0 0,1 8,10A6,6 0 0,1 14,4C14.43,4 14.86,4.05 15.27,4.14L16.88,2.54C15.96,2.18 15,2 14,2M20.59,3.58L14,10.17L11.62,7.79L10.21,9.21L14,13L22,5M4.93,5.82C3.08,7.34 2,9.61 2,12A8,8 0 0,0 10,20C10.64,20 11.27,19.92 11.88,19.77C10.12,19.38 8.5,18.5 7.17,17.29C5.22,16.25 4,14.21 4,12C4,11.7 4.03,11.41 4.07,11.11C4.03,10.74 4,10.37 4,10C4,8.56 4.32,7.13 4.93,5.82Z" />
        </svg><br><span>Features</span></label></li>
    <li title="Delivery Contents"><label for="tab2" role="button"><svg viewBox="0 0 24 24">
          <path d="M2,10.96C1.5,10.68 1.35,10.07 1.63,9.59L3.13,7C3.24,6.8 3.41,6.66 3.6,6.58L11.43,2.18C11.59,2.06 11.79,2 12,2C12.21,2 12.41,2.06 12.57,2.18L20.47,6.62C20.66,6.72 20.82,6.88 20.91,7.08L22.36,9.6C22.64,10.08 22.47,10.69 22,10.96L21,11.54V16.5C21,16.88 20.79,17.21 20.47,17.38L12.57,21.82C12.41,21.94 12.21,22 12,22C11.79,22 11.59,21.94 11.43,21.82L3.53,17.38C3.21,17.21 3,16.88 3,16.5V10.96C2.7,11.13 2.32,11.14 2,10.96M12,4.15V4.15L12,10.85V10.85L17.96,7.5L12,4.15M5,15.91L11,19.29V12.58L5,9.21V15.91M19,15.91V12.69L14,15.59C13.67,15.77 13.3,15.76 13,15.6V19.29L19,15.91M13.85,13.36L20.13,9.73L19.55,8.72L13.27,12.35L13.85,13.36Z" />
        </svg><br><span>Delivery Contents</span></label></li>
    <li title="Shipping"><label for="tab3" role="button"><svg viewBox="0 0 24 24">
          <path d="M3,4A2,2 0 0,0 1,6V17H3A3,3 0 0,0 6,20A3,3 0 0,0 9,17H15A3,3 0 0,0 18,20A3,3 0 0,0 21,17H23V12L20,8H17V4M10,6L14,10L10,14V11H4V9H10M17,9.5H19.5L21.47,12H17M6,15.5A1.5,1.5 0 0,1 7.5,17A1.5,1.5 0 0,1 6,18.5A1.5,1.5 0 0,1 4.5,17A1.5,1.5 0 0,1 6,15.5M18,15.5A1.5,1.5 0 0,1 19.5,17A1.5,1.5 0 0,1 18,18.5A1.5,1.5 0 0,1 16.5,17A1.5,1.5 0 0,1 18,15.5Z" />
        </svg><br><span>Shipping</span></label></li>
    <li title="Returns"><label for="tab4" role="button"><svg viewBox="0 0 24 24">
          <path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z" />
        </svg><br><span>Returns</span></label></li>
  </ul>

  <div class="slider">
    <div class="indicator"></div>
  </div>
  <div class="content">
    <section>
      <h2>Features</h2>Features go here Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ea dolorem sequi, quo tempore in eum obcaecati atque quibusdam officiis est dolorum minima deleniti ratione molestias numquam. Voluptas voluptates quibusdam cum?
    </section>
    <section>
      <h2>Delivery Contents</h2>
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem quas adipisci a accusantium eius ut voluptatibus ad impedit nulla, ipsa qui. Quasi temporibus eos commodi aliquid impedit amet, similique nulla.
    </section>
    <section>
      <h2>Shipping</h2>
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam nemo ducimus eius, magnam error quisquam sunt voluptate labore, excepturi numquam! Alias libero optio sed harum debitis! Veniam, quia in eum.
    </section>
    <section>
      <h2>Returns</h2>
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa dicta vero rerum? Eaque repudiandae architecto libero reprehenderit aliquam magnam ratione quidem? Nobis doloribus molestiae enim deserunt necessitatibus eaque quidem incidunt.
    </section>
  </div>
</div>
   

<style>

@import "bourbon";
@import "https://fonts.googleapis.com/css?family=Montserrat:400,700|Raleway:300,400";
/* colors */
/* tab setting */
/* breakpoints */
/* selectors relative to radio inputs */
html {
  width: 100%;
  height: 100%;
}
body {
  background: #efefef;
  color: #333;
  font-family: "Raleway";
  height: 100%;
}
body h1 {
  text-align: center;
  color: #428bff;
  font-weight: 300;
  padding: 40px 0 20px 0;
  margin: 0;
}
.tabs {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: white;
  padding: 50px;
  padding-bottom: 80px;
  width: 70%;
  height: 250px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  min-width: 240px;
}
.tabs input[name="tab-control"] {
  display: none;
}
.tabs .content section h2,
.tabs ul li label {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 18px;
  color: #428bff;
}
.tabs ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.tabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 25%;
  padding: 0 10px;
  text-align: center;
}
.tabs ul li label {
  transition: all 0.3s ease-in-out;
  color: #929daf;
  padding: 5px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  -webkit-touch-callout: none;
}
.tabs ul li label br {
  display: none;
}
.tabs ul li label svg {
  fill: #929daf;
  height: 1.2em;
  vertical-align: bottom;
  margin-right: 0.2em;
  transition: all 0.2s ease-in-out;
}
.tabs ul li label:hover,
.tabs ul li label:focus,
.tabs ul li label:active {
  outline: 0;
  color: #bec5cf;
}
.tabs ul li label:hover svg,
.tabs ul li label:focus svg,
.tabs ul li label:active svg {
  fill: #bec5cf;
}
.tabs .slider {
  position: relative;
  width: 25%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}
.tabs .slider .indicator {
  position: relative;
  width: 50px;
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: #428bff;
  border-radius: 1px;
}
.tabs .content {
  margin-top: 30px;
}
.tabs .content section {
  display: none;
  animation-name: content;
  animation-direction: normal;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  line-height: 1.4;
}
.tabs .content section h2 {
  color: #428bff;
  display: none;
}
.tabs .content section h2::after {
  content: "";
  position: relative;
  display: block;
  width: 30px;
  height: 3px;
  background: #428bff;
  margin-top: 5px;
  left: 1px;
}
.tabs
  input[name="tab-control"]:nth-of-type(1):checked
  ~ ul
  > li:nth-child(1)
  > label {
  cursor: default;
  color: #428bff;
}
.tabs
  input[name="tab-control"]:nth-of-type(1):checked
  ~ ul
  > li:nth-child(1)
  > label
  svg {
  fill: #428bff;
}
@media (max-width: 600px) {
  .tabs
    input[name="tab-control"]:nth-of-type(1):checked
    ~ ul
    > li:nth-child(1)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  transform: translateX(0%);
}
.tabs
  input[name="tab-control"]:nth-of-type(1):checked
  ~ .content
  > section:nth-child(1) {
  display: block;
}
.tabs
  input[name="tab-control"]:nth-of-type(2):checked
  ~ ul
  > li:nth-child(2)
  > label {
  cursor: default;
  color: #428bff;
}
.tabs
  input[name="tab-control"]:nth-of-type(2):checked
  ~ ul
  > li:nth-child(2)
  > label
  svg {
  fill: #428bff;
}
@media (max-width: 600px) {
  .tabs
    input[name="tab-control"]:nth-of-type(2):checked
    ~ ul
    > li:nth-child(2)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
  transform: translateX(100%);
}
.tabs
  input[name="tab-control"]:nth-of-type(2):checked
  ~ .content
  > section:nth-child(2) {
  display: block;
}
.tabs
  input[name="tab-control"]:nth-of-type(3):checked
  ~ ul
  > li:nth-child(3)
  > label {
  cursor: default;
  color: #428bff;
}
.tabs
  input[name="tab-control"]:nth-of-type(3):checked
  ~ ul
  > li:nth-child(3)
  > label
  svg {
  fill: #428bff;
}
@media (max-width: 600px) {
  .tabs
    input[name="tab-control"]:nth-of-type(3):checked
    ~ ul
    > li:nth-child(3)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
  transform: translateX(200%);
}
.tabs
  input[name="tab-control"]:nth-of-type(3):checked
  ~ .content
  > section:nth-child(3) {
  display: block;
}
.tabs
  input[name="tab-control"]:nth-of-type(4):checked
  ~ ul
  > li:nth-child(4)
  > label {
  cursor: default;
  color: #428bff;
}
.tabs
  input[name="tab-control"]:nth-of-type(4):checked
  ~ ul
  > li:nth-child(4)
  > label
  svg {
  fill: #428bff;
}
@media (max-width: 600px) {
  .tabs
    input[name="tab-control"]:nth-of-type(4):checked
    ~ ul
    > li:nth-child(4)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
  transform: translateX(300%);
}
.tabs
  input[name="tab-control"]:nth-of-type(4):checked
  ~ .content
  > section:nth-child(4) {
  display: block;
}
@keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
@media (max-width: 1000px) {
  .tabs ul li label {
    white-space: initial;
  }
  .tabs ul li label br {
    display: initial;
  }
  .tabs ul li label svg {
    height: 1.5em;
  }
}
@media (max-width: 600px) {
  .tabs ul li label {
    padding: 5px;
    border-radius: 5px;
  }
  .tabs ul li label span {
    display: none;
  }
  .tabs .slider {
    display: none;
  }
  .tabs .content {
    margin-top: 20px;
  }
  .tabs .content section h2 {
    display: block;
  }
}

 
</style>[/html]

0

12

[html]
<style>

.kenny{
    width: 650px;
    height: 400px;
    background: #4f4f4f;
    position: relative;
    border: solid 3px #3f3e3e;
    box-shadow: inset 0 0 0 1px #656464;
    /* margin-left: 9%; */
    /* margin-top: 10px; */
}

.kennyexample{
    position: relative;
    top: -15px;
    left: 2px;
    padding: 0 0 14px;
    margin: 18px 7px 0;
    width: 630px;
    height: 90px;
    overflow: hidden;
    overflow-x: auto;
    White-space: pre!important;
}

.kennyexampletext{
    position: absolute;
    top: 277px;
    left: 2px;
    width: 650px;
    text-align: center;
    font-family: Alegreya Sans SC;
    font-size: 12px;
    letter-spacing: 20px;
    color: #ccc;
}

.kennyexample img{
    height: 80px;
    /* mix-blend-mode: overlay; */
    opacity: .5;
    transition: .5s;
    filter: grayscale(1);
}

.kennyexample img:hover{
    opacity: 1;
    filter: none!important;
}

.kennytabs {
    left: 50%;
    top: 0px;
    position: relative!important;
    transform: translateX(-50%);
    position: relative;
    /* background: white; */
    padding: 10px;
    padding-bottom: 80px;
    width: 90%;
    height: 200px;
    border-radius: 5px;
    min-width: 240px;
}

.kennytabs input[name="tab-control"] {  display: none; }

.kennytabs .content section h2, .kennytabs ul li label {
    font-family: Alegreya Sans SC;
    font-weight: bold;
    font-size: 17px;
    color: #428bff;
}

.kennytabs ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.kennytabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 25%;
  padding: 0 10px;
  text-align: center;
}

.kennytabs ul li label {
  transition: all 0.3s ease-in-out;
  color: #8c8d8f;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  -webkit-touch-callout: none;
}

.kennytabs ul li label svg {
  fill: #8c8d8f;
  height: 1.2em;
  vertical-align: bottom;
  margin-right: 0.2em;
  transition: all 0.2s ease-in-out;
}

.kennytabs ul li label:hover, .kennytabs ul li label:focus, .kennytabs ul li label:active {  outline: 0;  color: #a6a6a6; }

.kennytabs ul li label:hover svg, .tabs ul li label:focus svg, .tabs ul li label:active svg { fill: #a6a6a6; }

.kennytabs .slider {
  position: relative;
  width: 33.4%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}

.kennytabs .slider .indicator {
  position: relative;
  width: 50px;
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: #ff6d47;
  border-radius: 1px;
}

.kennytabs .content { 
    margin-top: 30px;
    overflow: auto;
    height: 160px;
}

.kennytabs .content section {
  display: none;
  color: #ccc;
  text-align: justify;
  animation-name: content;
  animation-direction: normal;
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  line-height: 1.4;
}

.kennytabs .content section h2 { color: #ff6d47;   display: none; }

.kennytabs .content section h2::after {
  content: "";
  position: relative;
  display: block;
  width: 30px;
  height: 3px;
  background: #ff6d47;
  margin-top: 5px;
  left: 1px;
}

.kennytabs
  input[name="tab-control"]:nth-of-type(1):checked
  ~ ul
  > li:nth-child(1)
  > label {
  cursor: default;
  color: #ff6d47;
}

.kennytabs
  input[name="tab-control"]:nth-of-type(1):checked
  ~ ul
  > li:nth-child(1)
  > label
  svg {
  fill: #ff6d47;
}
@media (max-width: 600px) {
  .kennytabs
    input[name="tab-control"]:nth-of-type(1):checked
    ~ ul
    > li:nth-child(1)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}

.kennytabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  transform: translateX(0%);
}

.kennytabs
  input[name="tab-control"]:nth-of-type(1):checked
  ~ .content
  > section:nth-child(1) {
  display: block;
}

.kennytabs
  input[name="tab-control"]:nth-of-type(2):checked
  ~ ul
  > li:nth-child(2)
  > label {
  cursor: default;
  color: #ff6d47;
}

.kennytabs
  input[name="tab-control"]:nth-of-type(2):checked
  ~ ul
  > li:nth-child(2)
  > label
  svg {
  fill: #ff6d47;
}
@media (max-width: 600px) {
  .kennytabs
    input[name="tab-control"]:nth-of-type(2):checked
    ~ ul
    > li:nth-child(2)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.kennytabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {   transform: translateX(100%); }

.kennytabs
  input[name="tab-control"]:nth-of-type(2):checked
  ~ .content
  > section:nth-child(2) {
  display: block;
}

.kennytabs
  input[name="tab-control"]:nth-of-type(3):checked
  ~ ul
  > li:nth-child(3)
  > label {
  cursor: default;
  color: #ff6d47;
}

.kennytabs
  input[name="tab-control"]:nth-of-type(3):checked
  ~ ul
  > li:nth-child(3)
  > label
  svg {
  fill: #ff6d47;
}
@media (max-width: 600px) {
  .kennytabs
    input[name="tab-control"]:nth-of-type(3):checked
    ~ ul
    > li:nth-child(3)
    > label {
    background: rgba(0, 0, 0, 0.08);
  }
}

.kennytabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
  transform: translateX(200%);
}

.kennytabs
  input[name="tab-control"]:nth-of-type(3):checked
  ~ .content
  > section:nth-child(3) {
  display: block;
}
}

.kennytabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
  transform: translateX(300%);
}
.kennytabs
  input[name="tab-control"]:nth-of-type(4):checked
  ~ .content
  > section:nth-child(4) {
  display: block;
}
@keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
@media (max-width: 1000px) {
  .kennytabs ul li label {   white-space: initial;  }
  .kennytabs ul li label br {  display: initial;  }
  .kennytabs ul li label svg {  height: 1.5em; }
}
@media (max-width: 600px) {
  .kennytabs ul li label {
    padding: 5px;
    border-radius: 5px;
  }

  .kennytabs ul li label span {  display: none;  }
  .kennytabs .slider { display: none;  }
  .kennytabs .content {  margin-top: 20px;  }
  .kennytabs .content section h2 {  display: block;  }
}

.kennytabs .content::-webkit-scrollbar{width: 0px; height: 0px; background: transparent;}
.kennyexample::-webkit-scrollbar{background: transparent; height:4px;}
.kennyexample::-webkit-scrollbar-thumb:horizontal {   background: #ff6d47!important; border: none!important;   box-shadow: none!important;    border-radius: 1px!important;}

</style>

<div class="kenny">

<div id="container">
<div class="kennytabs">

  <input type="radio" id="tab1" name="tab-control" checked>
  <input type="radio" id="tab2" name="tab-control">
  <input type="radio" id="tab3" name="tab-control">

  <ul>
    <li><label for="tab1" role="button"><br><span>вкладка о1</span></label></li>
    <li><label for="tab2" role="button"><br><span>вкладка о2</span></label></li>
    <li><label for="tab3" role="button"><br><span>вкладка о3</span></label></li>
  </ul>

  <div class="slider">    <div class="indicator"></div>   </div>
  <div class="content">
    <section>
      По прогнозам в ближайшие несколько дней обещали дождь. Желание быть продуктивным не было от слова совсем, и потому приходилось задерживаться в офисе, чтобы разобраться со всеми бумажками, и не просрать всевозможные дедлайны. Да и дома, знаете, было будто бы чуть напряжённое, чем всегда. Словно какая-то черная кошка пряталась по углам. Недосказанность, непонимание происходящего, и еще много всевозможных "не". Можно ли было меня осуждать за то, что сегодня я задержался слишком уж долго, и возвращался домой посреди ночи? Она волнуется. Я знаю наверняка, что Луна, вероятно, ждала меня, но надеюсь на то, что она уже спит, когда открываю дверь собственным ключом, стараясь не издавать лишнего шума.
В гостиной горит тусклый свет настольной лампы, на столе стоит тарелка с остывшим ужином. Мне станет стыдно, и даже несмотря на то, что я был совершенно не голоден. я все равно суну еду в микроволновку, и только после того, как утихнет еле слышный гул чудо техники, я услышу странный звук сверху, и меня потянет туда невидимой силой. Я не постучу в дверь. Открою ее тио, и скользну в комнату Луны, находя ее спящей, и всхлипывающей. Подушка была мокрой от слез, и не желая того, чтобы она и дальше видела плохие сны, я опущусь рядом с ней на кровать, осторожно касаясь плеча. -Луна? Она откроет глаза, и увидев меня, на долю секунды, будто бы, испугается, а затем, протянув руки, обнимет меня за шею, пряча лицо в моей груди. Ладони скользнут по ее спине, к лопаткам. Легкими поглаживаниями стараюсь успокоить ее, прижму к себе суть крепче, опущусь, зарываясь лицом в ее волосы на макушке. -Это был всего лишь дурной сон, милая. и когда ее пальцы сожмут мою футболку, добавлю: -Я рядом. Не плачь. и мне неизвестно, что ей снилось, да и вряд ли она захочет этим поделиться, но мне хочется верить, что эти слова успокоят ее. Хотя бы немного. Придадут уверенности в том, что она в безопасности. И пусть я не могу защитить Луну в ее снах, но в нашей реальности ей ничего не угрожало, пока она была рядом со мной. Только от себя самого защитить ее у меня не получалось.
    </section>
    <section>
      <h2>вкладка 2</h2>
      Делать вид, что, между нами, ничего не происходило — это верно? Думаю, что нет, но на данный момент именно этот вариант кажется самым правильным. Серая безысходность никак не отпускала, и я давно не чувствовал себя так паршиво, как на следующий день. Проснувшись ровно в пять утра, какое-то время я пролежу, смотря в окно, наблюдая за тем, как снаружи шумит дождь, и ветер качает ветви редких деревьев. В доме стояла полнейшая тишина, и от этого еще больше было не по себе. Несмотря на раннее время, я встану, потру плечо, практически зажившее, но предательски ноющее, видимо, на погоду, и наскоро одевшись в домашние штаны и растянутую футболку, спущусь на кухню, включая плиту, и разводя смесь для блинчиков. Радио что-то успокаивающе бормочет, и это отвлекает от тревожных мыслей, помогает забыться на минутку, ровно до тех пор, пока в проходе на кухню не появится хрупкая фигурка Луны. -Привет, солнышко. Садись. на стол опустится тарелка с завтраком, и стакан апельсинового сока. -Как спаслось? и я искренне стараюсь не обращать внимание на то ,с каким непонятливым подозрением смотрит на меня девушка. Просто нужно делать вид, что ничего не произошло. Просто нужно постараться сделать вид, что все по-прежнему, и все, возможно, снова будет хорошо. Возможно. А возможно и нет.
    </section>
    <section>
      <h2>вкладка 3</h2>
      -Дай я посмотрю. Луна потянется к моему плечу, уже после того как умоется, и смывая со своего прелестного лица следы ночным слез. -Это необязательно, все в порядке. но она уде потянет мою футболку вверх, стараясь добраться до той части тела, что еще недавно пугала своим состоянием. Я знаю, какой будет ее реакция. Удивление, шок, отрицание, возможно, и я готов к этому. Поэтому на вопрос девушки: -Как это возможно? Лишь пожму плечами. -Особенности организма. Все заживает, как на собаке. Постараюсь улыбнуться расслабленно, надеясь на то, что это как то поможет отпустить эту болезненную тему, но судя по выражению на лице Лу, это вообще не помогает, да и если уж говорить полностью откровенно: сложно было поверить в то, что она так просто смириться с моим волшебным выздоровлением. -Я уже пытался объяснить тебе. но ты не поверила. Думаю нужно немного времени. Тебе чтобы свыкнуться с этим, а мне что бы... Ну что бы... Пожую губы, пытаясь продолжить собственную фразу так, что бы она звучала не по идиотски. -Что бы найти нужные слова для объяснения. Натяну обратно на себя футболку, и взглянув на время цокну языком. Стрелки часов уже давно перевалили за полночь, слишком давно, и за окном начинало рассветать. Только услышав чириканье птиц я почувствую, что на самом деле ужасно устал, держать глаза открытыми станет невероятно тяжело. -Думаю нам стоит немного поспать. но я не успею сделать и шага к лестнице наверх, Луна остановит меня своей тихой просьбой: -Постой. замерев, я внимательно взгляну на нее, а затем переведу взгляд на то что она держит в пальцах, в протянутой ко мне руке. -Нужно тебе это вернуть. перехвачу фотографию, на которой были изображены два счастливых человека. Мы. Фотокарточка ужасного качества, в черно белом цвете, но взглянув на нее на лице непроизвольно появляется улыбка. Возвращаться воспоминаниями в то время, где мы были вместе. не сдерживаемые никакими рамками, влюбленные и счастливые, мне всегда нравилось, и этот раз не оказался исключением. Однако я не стану забирать ее, чтобы спрятать в собственную полку. -оставь себе. Рассмотри ее хорошенько. Вдруг что-нибудь вспомнишь. А затем, сделав шаг ближе, я осторожно коснусь губами ее виска. -Спокойной ночи, милая.
    </section>
  </div>
</div></div>

<div class="kennyexampletext">
примеры работ
</div>

<div class="kennyexample">
<img src="https://forumupload.ru/uploads/0019/d7/11/26/659785.jpg"> <img src="https://forumupload.ru/uploads/0019/d7/11/26/659785.jpg"> <img src="https://forumupload.ru/uploads/0019/d7/11/26/659785.jpg"> <img src="https://forumupload.ru/uploads/0019/d7/11/26/659785.jpg"> <img src="https://forumupload.ru/uploads/0019/d7/11/26/659785.jpg"> <img src="https://forumupload.ru/uploads/0019/d7/11/26/659785.jpg"> <img src="https://forumupload.ru/uploads/0019/d7/11/26/659785.jpg"> <img src="https://forumupload.ru/uploads/0019/d7/11/26/659785.jpg"> <img src="https://forumupload.ru/uploads/0019/d7/11/26/659785.jpg">
</div>

</div>
[/html]

0

13

[html]
<div class="general-container">
  <input class="radio" type="radio" name="card" id="card-1" checked />
  <label class="content" for="card-1">
    <span class="icon">
      <i class="fas fa-sun"></i>
    </span>
    <h3 class="card-title">
      Serra da Freita, Vale de Cambra, Portugal
      <span class="subtitle">@hed</span>
    </h3>
  </label>
  <input class="radio" type="radio" name="card" id="card-2" />
  <label class="content" for="card-2">
    <span class="icon">
      <i class="fas fa-cloud-rain"></i>
    </span>
    <h3 class="card-title">
      París, Paris, France
      <span class="subtitle">@lolaguti</span>
    </h3>
  </label>
  <input class="radio" type="radio" name="card" id="card-3" />
  <label class="content" for="card-3">
    <span class="icon">
      <i class="fas fa-cloud-moon"></i>
    </span>
    <h3 class="card-title">
      La Joue du Loup, Le Dévoluy, France
      <span class="subtitle">@quentindrphotography</span>
    </h3>
  </label>
  <input class="radio" type="radio" name="card" id="card-4" />
  <label class="content" for="card-4">
    <span class="icon">
      <i class="fas fa-snowflake"></i>
    </span>
    <h3 class="card-title">
      Jasper National Park, Jasper, Canada
      <span class="subtitle">@punttim</span>
    </h3>
  </label>
  <input class="radio" type="radio" name="card" id="card-5" />
  <label class="content" for="card-5">
    <span class="icon">
      <i class="fas fa-poo-storm"></i>
    </span>
    <h3 class="card-title">
      Sioux Falls, United States
      <span class="subtitle">@eugenetriguba</span>
    </h3>
  </label>
</div>

<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;900&display=swap');

:root {
  --dark-blue: #1F4782;
  --dark-gray: #303335;
  --golden: #AB834C;
  --golden-tainoi: #E9BE71;
  --gray: #818C96;
  --white: #FFF;
}

*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(90deg, #CAF3F2 0%, #6FE3E1 100%);
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  justify-content: center;
  min-height: 100vh;
}

.general-container {
  display: flex;
  height: 30rem;
  margin: 0 auto;
  max-width: 100%;
  width: 70rem;
}

.radio {
  display: none;
}

.content {
  background: var(--white)
  url('https://images.unsplash.com/photo-1524572217604-17e96c89e56f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1867&q=80')
  100% / cover no-repeat;
  border-radius: 3rem;
  cursor: pointer;
  flex: 1;
  margin-right: 0.8rem;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.content:hover {
  box-shadow: 0.3rem 0.3rem 0.4rem rgba(0, 0, 0, 0.3);
}

.icon {
  align-items: center;
  background-color: var(--white);
  border-radius: 50%;
  bottom: 1rem;
  color: var(--golden-tainoi);
  display: flex;
  font-size: 1.5rem;
  height: 2.5rem;
  justify-content: center;
  left: 1.1rem;
  position: absolute;
  width: 2.5rem;
}

.content:nth-of-type(2) {
  background-image: url('https://images.unsplash.com/photo-1444384851176-6e23071c6127?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1867&q=80');
}

.content:nth-of-type(3) {
  background-image: url('https://images.unsplash.com/photo-1482406611936-43ea538e39d4?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2110&q=80');
}

.content:nth-of-type(4) {
  background-image: url('https://images.unsplash.com/photo-1483663167873-0cfcc893b78c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2096&q=80');
}

.content:nth-of-type(5) {
  background-image: url('https://images.unsplash.com/photo-1475116127127-e3ce09ee84e1?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2100&q=80');
  margin-right: 0;
}

.content:nth-of-type(2) .icon {
  color: var(--dark-gray);
}

.content:nth-of-type(3) .icon {
  color: var(--dark-blue);
}

.content:nth-of-type(4) .icon {
  color: var(--gray);
}

.content:nth-of-type(5) .icon {
  color: var(--golden);
}

.card-title {
  bottom: 1.2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  left: 4.5rem;
  line-height: 1.1;
  opacity: 0;
  position: absolute;
  text-shadow: 0.05rem 0.05rem 0.1rem rgba(0, 0, 0, 0.5);
  transform: translateX(2rem);
  transition: 290ms cubic-bezier(0.05, 0.61, 0.41, 0.95) 300ms;
  transition-property: opacity, transform;
  user-select: none;
  white-space: nowrap;
}

.subtitle {
  font-size: 0.9rem;
}

/* Effect */
.radio:checked + .content {
  border-radius: 2rem;
  box-shadow: 0.3rem 0.3rem 0.4rem rgba(0, 0, 0, 0.3);
  flex: 10;
}

.radio:checked + .content > .card-title {
  opacity: 1;
  transform: translateX(0);
}

</style>
[/html]

0

14

ссылка на исходник

[html]

<audio id="myAudio">

  <source src="https://forumstatic.ru/files/0011/57/96/38138.mp3" type="audio/mpeg">
  Your browser does not support the audio element.
</audio>

<button class="btn" button onclick="playAudio()" type="button">Play Audio</button>
<button class="btn" onclick="pauseAudio()" type="button">Pause Audio</button>

<style>
.btn {
display: inline-block;
box-sizing: border-box;
padding: 0 25px;
margin: 0 15px 15px 0;
outline: none;
border: 1px solid #fff;
border-radius: 50px;
height: 46px;
line-height: 46px;
font-size: 14px;
font-weight: 600;
text-decoration: none;
color: #444;
background-color: #fff;
box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
cursor: pointer;
user-select: none;
appearance: none;
touch-action: manipulation; 
vertical-align: top;
transition: box-shadow 0.2s;
}
</style>

<script>
var x = document.getElementById("myAudio");

function playAudio() {
  x.play();
}

function pauseAudio() {
  x.pause();
}
</script>
[/html]

0


Вы здесь » meggi meg » welcome » штмл