concoction

Объявление

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

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


Вы здесь » concoction » ХТМЛ и журнал » Тестовое сообщение


Тестовое сообщение

Сообщений 31 страница 60 из 297

31

[html]<style>
body{
   padding-top:0px !important;
}
@import url(https://fonts.googleapis.com/css?family … 00,600,700);
.snip1527 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  float: left;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  margin: 10px 1%;
  max-width: 310px;
  min-width: 250px;
  overflow: hidden;
  position: relative;
  text-align: left;
  width: 100%;
}

.snip1527 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.snip1527 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
}

.snip1527 figcaption {
  padding: 25px 20px 25px;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.snip1527 figcaption:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #700877;
  content: '';
  background: -moz-linear-gradient(90deg, #700877 0%, #ff2759 100%, #ff2759 100%);
  background: -webkit-linear-gradient(90deg, #700877 0%, #ff2759 100%, #ff2759 100%);
  background: linear-gradient(90deg, #700877 0%, #ff2759 100%, #ff2759 100%);
  opacity: 0.8;
  z-index: -1;
}

.snip1527 .date {
  background-color: #fff;
  border-radius: 50%;
  color: #700877;
  font-size: 18px;
  font-weight: 700;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 0;
  position: absolute;
  right: 15px;
  text-align: center;
  text-transform: uppercase;
  top: -25px;
}

.snip1527 .date span {
  display: block;
  line-height: 14px;
}

.snip1527 .date .month {
  font-size: 11px;
}

.snip1527 h3,
.snip1527 p {
  margin: 0;
  padding: 0;
}

.snip1527 h3 {
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
}

.snip1527 p {
  font-size: 0.8em;
  line-height: 1.6em;
  margin-bottom: 0px;
}

.snip1527 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.snip1527:hover img,
.snip1527.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

</style>
<script>

</script>

<figure class="snip1527">
  <div class="image"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/pr-sample23.jpg" alt="pr-sample23" /></div>
  <figcaption>
    <div class="date"><span class="day">28</span><span class="month">Oct</span></div>
    <h3>The World Ended Yesterday</h3>
    <p>

      You know what we need, Hobbes? We need an attitude. Yeah, you can't be cool if you don't have an attitude.
    </p>
  </figcaption>
  <a href="#"></a>
</figure><figure class="snip1527">
  <div class="image"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/pr-sample23.jpg" alt="pr-sample23" /></div>
  <figcaption>
    <div class="date"><span class="day">28</span><span class="month">Oct</span></div>
    <h3>The World Ended Yesterday</h3>
    <p>

      You know what we need, Hobbes? We need an attitude. Yeah, you can't be cool if you don't have an attitude.
    </p>
  </figcaption>
  <a href="#"></a>
</figure><figure class="snip1527">
  <div class="image"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/pr-sample23.jpg" alt="pr-sample23" /></div>
  <figcaption>
    <div class="date"><span class="day">28</span><span class="month">Oct</span></div>
    <h3>The World Ended Yesterday</h3>
    <p>

      You know what we need, Hobbes? We need an attitude. Yeah, you can't be cool if you don't have an attitude.
    </p>
  </figcaption>
  <a href="#"></a>
</figure>

[/html]

0

32

[html]<!-- код на зиму -->
<style>
/* Base Styles */

:root {
    font-size: 10px;
}

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

.container1 {
    max-width: 93.5rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    font: inherit;
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    cursor: pointer;
}

.btn:focus {
    outline: 0.5rem auto #4d90fe;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* Profile Section */

.profile {
    padding: 5rem 0;
}

.profile::after {
    content: "";
    display: block;
    clear: both;
}

.profile-image {
    float: left;
    width: calc(33.333% - 1rem);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 3rem;
}

.profile-user-settings,
.profile-stats,
.profile-bio {
    float: left;
    width: calc(66.666% - 2rem);
}

.profile-user-settings {
    margin-top: 1.1rem;
}

.profile-user-name {
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 300;
}

.profile-edit-btn {
    font-size: 1.4rem;
    line-height: 1.8;
    border: 0.1rem solid #dbdbdb;
    border-radius: 0.3rem;
    padding: 0 2.4rem;
    margin-left: 2rem;
}

.profile-settings-btn {
    font-size: 2rem;
    margin-left: 1rem;
}

.profile-stats {
    margin-top: 2.3rem;
}

.profile-stats li {
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1.5;
    margin-right: 4rem;
    cursor: pointer;
}

.profile-stats li:last-of-type {
    margin-right: 0;
}

.profile-bio {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 2.3rem;
}

.profile-real-name,
.profile-stat-count,
.profile-edit-btn {
    font-weight: 600;
}

/* Gallery Section */

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem -1rem;
    padding-bottom: 3rem;
}

.gallery-item {
    position: relative;
    flex: 1 0 22rem;
    margin: 1rem;
    color: #fff;
    cursor: pointer;
}

.gallery-item:hover .gallery-item-info,
.gallery-item:focus .gallery-item-info {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.gallery-item-info {
    display: none;
}

.gallery-item-info li {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
}

.gallery-item-likes {
    margin-right: 2.2rem;
}

.gallery-item-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    text-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 0, 0, 0.1);
}

.fa-clone,
.fa-comment {
    transform: rotateY(180deg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loader */

.loader {
    width: 5rem;
    height: 5rem;
    border: 0.6rem solid #999;
    border-bottom-color: transparent;
    border-radius: 50%;
    margin: 0 auto;
    animation: loader 500ms linear infinite;
}

/* Media Query */

@media screen and (max-width: 40rem) {
    .profile {
        display: flex;
        flex-wrap: wrap;
        padding: 4rem 0;
    }

    .profile::after {
        display: none;
    }

    .profile-image,
    .profile-user-settings,
    .profile-bio,
    .profile-stats {
        float: none;
        width: auto;
    }

    .profile-image img {
        width: 7.7rem;
    }

    .profile-user-settings {
        flex-basis: calc(100% - 10.7rem);
        display: flex;
        flex-wrap: wrap;
        margin-top: 1rem;
    }

    .profile-user-name {
        font-size: 2.2rem;
    }

    .profile-edit-btn {
        order: 1;
        padding: 0;
        text-align: center;
        margin-top: 1rem;
    }

    .profile-edit-btn {
        margin-left: 0;
    }

    .profile-bio {
        font-size: 1.4rem;
        margin-top: 1.5rem;
    }

    .profile-edit-btn,
    .profile-bio,
    .profile-stats {
        flex-basis: 100%;
    }

    .profile-stats {
        order: 1;
        margin-top: 1.5rem;
    }

    .profile-stats ul {
        display: flex;
        text-align: center;
        padding: 1.2rem 0;
        border-top: 0.1rem solid #dadada;
        border-bottom: 0.1rem solid #dadada;
    }

    .profile-stats li {
        font-size: 1.4rem;
        flex: 1;
        margin: 0;
    }

    .profile-stat-count {
        display: block;
    }
}

/* Spinner Animation */

@keyframes loader {
    to {
        transform: rotate(360deg);
    }
}

@supports (display: grid) {
    .profile {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 3rem;
        align-items: center;
    }

    .profile-image {
        grid-row: 1 / -1;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-gap: 2rem;
    }

    .profile-image,
    .profile-user-settings,
    .profile-stats,
    .profile-bio,
    .gallery-item,
    .gallery {
        width: auto;
        margin: 0;
    }

    @media (max-width: 40rem) {
        .profile {
            grid-template-columns: auto 1fr;
            grid-row-gap: 1.5rem;
        }

        .profile-image {
            grid-row: 1 / 2;
        }

        .profile-user-settings {
            display: grid;
            grid-template-columns: auto 1fr;
            grid-gap: 1rem;
        }

        .profile-edit-btn,
        .profile-stats,
        .profile-bio {
            grid-column: 1 / -1;
        }

        .profile-user-settings,
        .profile-edit-btn,
        .profile-settings-btn,
        .profile-bio,
        .profile-stats {
            margin: 0;
        }
    }
}

</style>

<script>

function selectText(containerid) {
    if (document.selection) { // IE
    var range = document.body.createTextRange();
    range.moveToElementText(document.getElementById(containerid));
    range.select();
    } else if (window.getSelection) {
    var range = document.createRange();
    range.selectNode(document.getElementById(containerid));
    window.getSelection().removeAllRanges();
    window.getSelection().addRange(range);
    }
}

</script>

<header>

<div class="container1">

    <div class="profile">

    <div class="profile-image">

        <img src="http://s7.uploads.ru/n98zi.png" alt="">

    </div>

    <div class="profile-user-settings">

        <h4 class="profile-user-name">Подарки</h4>

    </div>

    <div class="profile-stats">

        <ul>
        <li><span class="profile-stat-count">Добро пожаловать!</span>  Инфо</li>
        </ul>

    </div>

    <div class="profile-bio">

        <p><span class="profile-real-name">Это вот</span> инфо блок </p>

    </div>

    </div>
    <!-- End of profile section -->

</div>
<!-- End of container -->

</header>

<main>

<div class="container1">

    <div class="gallery">

    <div class="gallery-item" tabindex="0">

        <img src="http://s3.uploads.ru/qpXEz.png" class="gallery-image" alt="">

        <div class="gallery-item-info">

        <ul>
            <div id="example" onclick="selectText('example')"><li class="gallery-item-comments"><span class="visually-hidden">Код:</span><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></li></div>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://s8.uploads.ru/gopk5.png" class="gallery-image" alt="">

        <div class="gallery-item-info">

        <ul>
            <div id="example" onclick="selectText('example')"><li class="gallery-item-comments"><span class="visually-hidden">Код:</span><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></li></div>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://s8.uploads.ru/UeDxo.png" class="gallery-image" alt="">

        <div class="gallery-item-type">

        <span class="visually-hidden">Gallery</span><i class="fas fa-clone" aria-hidden="true"></i>

        </div>

        <div class="gallery-item-info">

        <ul>
            <div id="example" onclick="selectText('example')"><li class="gallery-item-comments"><span class="visually-hidden">Код:</span><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></li></div>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://sd.uploads.ru/glJxp.png" class="gallery-image" alt="">

        <div class="gallery-item-type">

        <span class="visually-hidden">Video</span><i class="fas fa-video" aria-hidden="true"></i>

        </div>

        <div class="gallery-item-info">

        <ul>
            <li class="gallery-item-comments"><span class="visually-hidden">Код:</span><div id="example" onclick="selectText('example')"><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></div></li>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://sd.uploads.ru/KrsDJ.png" class="gallery-image" alt="">

        <div class="gallery-item-type">

        <span class="visually-hidden">Gallery</span><i class="fas fa-clone" aria-hidden="true"></i>

        </div>

        <div class="gallery-item-info">

        <ul>
            <li class="gallery-item-comments"><span class="visually-hidden">Код:</span><div id="example" onclick="selectText('example')"><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></div></li>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://sd.uploads.ru/KrsDJ.png" class="gallery-image" alt="">

        <div class="gallery-item-info">

        <ul>
            <li class="gallery-item-comments"><span class="visually-hidden">Код:</span><div id="example" onclick="selectText('example')"><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></div></li>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://sd.uploads.ru/KrsDJ.png" alt="">

        <div class="gallery-item-type">

        <span class="visually-hidden">Gallery</span><i class="fas fa-clone" aria-hidden="true"></i>

        </div>

        <div class="gallery-item-info">

        <ul>
            <li class="gallery-item-comments"><span class="visually-hidden">Код:</span><div id="example" onclick="selectText('example')"><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></div></li>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://sd.uploads.ru/KrsDJ.png" class="gallery-image" alt="">

        <div class="gallery-item-info">

        <ul>
            <li class="gallery-item-comments"><span class="visually-hidden">Код:</span><div id="example" onclick="selectText('example')"><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></div></li>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://sd.uploads.ru/KrsDJ.png" class="gallery-image" alt="">

        <div class="gallery-item-type">

        <span class="visually-hidden">Gallery</span><i class="fas fa-clone" aria-hidden="true"></i>

        </div>

        <div class="gallery-item-info">

        <ul>
            <li class="gallery-item-comments"><span class="visually-hidden">Код:</span><div id="example" onclick="selectText('example')"><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></div></li>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://sd.uploads.ru/KrsDJ.png" class="gallery-image" alt="">

        <div class="gallery-item-info">

        <ul>
            <li class="gallery-item-comments"><span class="visually-hidden">Код:</span><div id="example" onclick="selectText('example')"><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></div></li>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://sd.uploads.ru/KrsDJ.png" class="gallery-image" alt="">

        <div class="gallery-item-info">

        <ul>
            <li class="gallery-item-comments"><span class="visually-hidden">Код:</span><div id="example" onclick="selectText('example')"><code>http://s1.uploads.ru/i/yHimW.png<br>

Покупаю чизкейк для Имя персонажа в род. падеже<br>
(пожелание)

<br>
Стоимость подарка: 20 франков<br>
Статус отправки и оплаты:</code></div></li>
        </ul>

        </div>

    </div>

    <div class="gallery-item" tabindex="0">

        <img src="http://sd.uploads.ru/KrsDJ.png" alt="">

        <div class="gallery-item-type">

        <span class="visually-hidden">Video</span><i class="fas fa-video" aria-hidden="true"></i>

        </div>

        <div class="gallery-item-info">

        <ul>
            <li class="gallery-item-comments"><span class="visually-hidden">Код:</span><div id="example" onclick="selectText('example')"><code>

Код:
[img]http://s1.uploads.ru/i/yHimW.png[/img]<br>
[quote]Покупаю [b]чизкейк[/b] для [url=Ссылка на профиль]Имя персонажа в род. падеже[/url]<br>
(пожелание)[/quote]<br>
[b]Стоимость подарка:[/b] 20 франков<br>
[b]Статус отправки и оплаты:[/b]</code>

</div></li>
        </ul>

        </div>

    </div>

    </div>
    <!-- End of gallery -->

</div>
<!-- End of container -->

</main>
<!--//End код на страницу зимы -->[/html]
[hideprofile]

0

33

[html]
<style>

      &.portfolio {
         transition: all 0.8s ease;

         .icon {
            background-image: url(https://rafaelalucas91.github.io/assets … n/link.svg);
         }
      }

      &.dribbble {
         transition: all 0.3s ease;
         .icon {
            background-image: url(https://rafaelalucas91.github.io/assets … ibbble.svg);
         }
      }

      &.linkedin {
         transition: all 0.8s ease;
         .icon {
            background-image: url(https://rafaelalucas91.github.io/assets … nkedin.svg);
         }
      }
   }

   &:hover {
      width: 105px;
      height: 105px;
      transition: all $transition;

      .logo {
         opacity: 1;
         transition: all 0.6s ease;
      }

      .social {
         opacity: 1;

         .icon {
            opacity: 0.9;
         }

         &:hover {
            background-size: 28px;
            .icon {
               background-size: 65%;
               opacity: 1;
            }
         }

         &.portfolio {
            right: 0;
            bottom: calc(100% - 40px);
            transition: all 0.3s 0s $cubic;
            .icon {
               &:hover {
                  background-color: #698fb7;
               }
            }
         }

         &.dribbble {
            bottom: 45%;
            right: 45%;
            transition: all 0.3s 0.15s $cubic;
            .icon {
               &:hover {
                  background-color: #ea4c89;
               }
            }
         }

         &.linkedin {
            bottom: 0;
            right: calc(100% - 40px);
            transition: all 0.3s 0.25s $cubic;
            .icon {
               &:hover {
                  background-color: #0077b5;
               }
            }
         }
      }
   }
}

@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Mono:400,400i|IBM+Plex+Sans+Condensed:400,400i|IBM+Plex+Sans:100,100i,400,400i,700,700i|IBM+Plex+Serif:400,400i");

$text: #686868;
$m01: #667eea; /* main 1*/
$m02: #764ba2; /* main 2*/
$n01: #f5f7fa; /* neutral 1*/
$n02: #c3cfe2; /* neutral 2*/

body {
   background-color: #2e2e2e;
   font-family: "IBM Plex Sans", sans-serif;
   margin:0;
}

#wrapper {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
}

.content {
   max-width: 600px;
   width: 100%;
   min-width: 260px;
   margin: 0 5%;
   margin-top: 10%;
   transition: 0.3s ease;

   @media screen and (max-width: 512px) {
      margin: 0 4%;
      margin-top: 5%;
   }
}

/* Tabs menu */

.tabs {
   margin: 0;
   background-image: linear-gradient(135deg, $n01 0%, $n02 100%);
   display: flex;
   justify-content: space-between;
   align-items: center;
   height: 80px;
   border-radius: 2px 2px 0px 0px;

   @media screen and (max-width: 512px) {
      height: 40px;
   }
}

/* Tab Links */

.tablinks {
   background: transparent;
   background-image: linear-gradient(90deg, transparent 70%, rgba(255, 255, 255, 0.2) 100%);
   border: none;
   outline: none;
   cursor: pointer;
   width: 25%; /*change depending on the number of tabs*/
   height: 80px;
   position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 16px;
   font-family: "IBM Plex Sans", sans-serif;
   overflow: hidden;
   transition: 0.3s ease;

   @media screen and (max-width: 512px) {
      height: 40px;
      font-size: 12px;
   }
}

.tablinks:before /* Gradient */ {
   background-image: linear-gradient(135deg, $m01 0%, $m02 100%);
   content: "";
   width: 100%;
   height: 0px;
   position: absolute;
   top: 0;
   left: 0;
   transition: 0.3s ease-in-out;
   z-index: 2;
}

/*tab buttons hover*/

.tablinks:hover::before {
   height: 100%;
   z-index: 2;
   bottom: 0;
   
   @media screen and (max-width: 512px) {
      height: 0;
   }
}

/* Tab active */

.tablinks.active {
   background-color: white;
   z-index: 0;
   border-right: 0px;
   border-left: 0px;
   height: 110px;
   bottom: 0px;
   overflow: hidden;
   
   @media screen and (max-width: 512px) {
      height: 60px;
   }
}

.tablinks.active:before /* Gradient */ {
   content: "";
   width: 100%;
   height: 5px;
   top: 0;
   left: 0;
}

/* Tabs text */

.tablinks.active p,
.tablinks.active:hover p {
   opacity: 1;
   background: -webkit-linear-gradient(135deg, $m01 0%, $m02 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.tablinks p {
   opacity: 0.6;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 2;
   transition: 0.5s ease;
   padding: 0;
   margin: 0;
   color: $text;
   backface-visibility: hidden;
   font-weight: 400;
}

.tablinks:hover p {
   color: #000;
   opacity: 1;
   
   @media screen and (max-width: 512px) {
      color: $text;
      opacity: 0.6;
   }
}

/* Tabs text bigger */

.tablinks p:before {
   content: attr(data-title);
   position: absolute;
   height: auto;
   width: auto;
   color: #ccc;
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0.1;
   font-size: 40px;
   transition: 1s ease-out;
   z-index: -1;
   font-weight: 600;
   top: 110%;
   
   @media screen and (max-width: 512px) {
      display: none;
   }
}

.tablinks:hover p:before {
   opacity: 0.1;
   font-size: 40px;
   top: -80%;
}

/* tab content */

.wrapper_tabcontent {
   background-color: white;
   margin-top: 0px;
   z-index: -3;
   position: relative;
   opacity: 1;
   padding: 40px 60px;
   overflow: hidden;
   transition: all 1s ease;
   top: 0;
}

.tabcontent {
   display: none;
   min-height: 180px;
   
}

@keyframes tabEffect {
   from {
      top: -40px;
   }
   to {
      top: 0px;
   }
}

.tabcontent.active {

   transition: all 1s ease;
   display: block;
}

/* Tab content line */
.wrapper_tabcontent:after {
   content: "";
   height: 5px;
   width: 100%;
   position: absolute;
   background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   left: 0;
   bottom: 0;
   z-index: -2;
   transition: all 1s ease;
}

/* Title */
.tabcontent h3 {
   font-size: 40px;
   top: 75px;
   transform: rotate(90deg);
   position: absolute;
   left: -90px;
   opacity: 0.1;
   width: 200px;
   height: 60px;
   background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   padding: 0;
   animation: city 1s ease;

   @media screen and (max-width: 512px) {
      top: 65px;
   }
}

@keyframes city {
   from {
      left: -150px;
   }
   to {
      left: -90px;
   }
}

/* Text*/
.tabcontent p {
   color: $text;
   margin: 0;
   padding: 0;
   line-height: 28px;
   font-weight: 100;
   transition: all 1s ease;
   animation: fadeEffect 0.6s ease;
   width: 100%;
   font-size: 16px;
   font-family: "IBM Plex Sans", sans-serif;

   @media screen and (max-width: 512px) {
      font-size: 14px;
      line-height: 26px;
   }
}

@keyframes fadeEffect {
   from {
      opacity: 0;
      margin-left: 30px;
   }
   to {
      opacity: 1;
      margin-left: 0;
   }
}
     
</style>
<script>

// tabs

var tabLinks = document.querySelectorAll(".tablinks");
var tabContent = document.querySelectorAll(".tabcontent");

tabLinks.forEach(function(el) {
   el.addEventListener("click", openTabs);
});

function openTabs(el) {
   var btnTarget = el.currentTarget;
   var country = btnTarget.dataset.country;

   tabContent.forEach(function(el) {
      el.classList.remove("active");
   });

   tabLinks.forEach(function(el) {
      el.classList.remove("active");
   });

   document.querySelector("#" + country).classList.add("active");
   
   btnTarget.classList.add("active");
}

</script>

<section id="wrapper">
   <div class="content">
      <!-- Tab links -->
      <div class="tabs">
         <button class="tablinks active" data-country="London"><p data-title="London">London</p></button>
         <button class="tablinks" data-country="Paris"><p data-title="Paris">Paris</p></button>
         <button class="tablinks" data-country="Barcelona"><p data-title="Barcelona">Barcelona</p></button>
         <button class="tablinks" data-country="Madrid"><p data-title="Madrid">Madrid</p></button>
      </div>

      <!-- Tab content -->
      <div class="wrapper_tabcontent">
         <div id="London" class="tabcontent active">
            <h3>London</h3>
            <p>London is the capital of Great Britain. It is one of the greatest cities in the world. It is an important business and financial centre. It is an intellectual centre, too. Everywhere in London, there are open spaces: Hyde Park and Regent Park are the largest. The City is the oldest part of London. </p>
         </div>

         <div id="Paris" class="tabcontent">
            <h3>Paris</h3>
            <p>Paris is in the Paris department of the Paris-Isle-of-France region The French historic, political and economic capital, with a population of only 2.5 million is located in the northern part of France. One of the most beautiful cities in the world. Home to historical monuments such as Notre Dame, the Eiffel tower (320m), Bastille, Louvre and many more. </p>
         </div>

         <div id="Barcelona" class="tabcontent">
            <h3>Barcelona</h3>
            <p>Barcelona has been an urban laboratory since the high Medieval Ages. A place of diversity, a backdrop for a multiplicity of social and cultural processes on multiple scales that reflect different ways of constructing the future, a city with a long experience of urban life and social innovations. </p>
         </div>

         <div id="Madrid" class="tabcontent">
            <h3>Madrid</h3>
            <p>Madrid is in the middle of Spain, in the Community of Madrid. The Community is a large area that includes the city as well as small towns and villages outside the city. 7 million people live in the Community. More than 3 million live in the city itself.
            </p>
         </div>
      </div>
   </div>
</section>
[/html]

0

34

[html]
<style>

button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none; }

.tabs {
  display: block;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  flex-wrap: wrap;
  background: #fff1e9;
  margin: 0;
  overflow: hidden; }
  .tabs [class^="tab"] label,
  .tabs [class*=" tab"] label {
    color: #000;
    cursor: pointer;
    display: block;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1em;
    padding: 2rem 0;
    text-align: center; }
  .tabs [class^="tab"] [type="radio"],
  .tabs [class*=" tab"] [type="radio"] {
    border-bottom: 1px solid rgba(239, 237, 239, 0.5);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out; }
    .tabs [class^="tab"] [type="radio"]:hover, .tabs [class^="tab"] [type="radio"]:focus,
    .tabs [class*=" tab"] [type="radio"]:hover,
    .tabs [class*=" tab"] [type="radio"]:focus {
      border-bottom: 1px solid #fd264f; }
    .tabs [class^="tab"] [type="radio"]:checked,
    .tabs [class*=" tab"] [type="radio"]:checked {
      border-bottom: 2px solid #fd264f; }
    .tabs [class^="tab"] [type="radio"]:checked + div,
    .tabs [class*=" tab"] [type="radio"]:checked + div {
      opacity: 1; }
    .tabs [class^="tab"] [type="radio"] + div,
    .tabs [class*=" tab"] [type="radio"] + div {
      display: block;
      opacity: 0;
      padding: 2rem 0;
      width: 90%;
      -webkit-transition: all 0.3s ease-in-out;
      -moz-transition: all 0.3s ease-in-out;
      -o-transition: all 0.3s ease-in-out;
      transition: all 0.3s ease-in-out; }
  .tabs .tab-2 {
    width: 50%; }
    .tabs .tab-2 [type="radio"] + div {
      width: 200%;
      margin-left: 200%; }
    .tabs .tab-2 [type="radio"]:checked + div {
      margin-left: 0; }
    .tabs .tab-2:last-child [type="radio"] + div {
      margin-left: 100%; }
    .tabs .tab-2:last-child [type="radio"]:checked + div {
      margin-left: -100%; }

</style>

<div class="tabs">
  <div class="tab-2">
    <label for="tab2-1">Первое</label>
    <input id="tab2-1" name="tabs-two" type="radio" checked="checked">
    <div>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas consequat id velit quis vestibulum. Nam id orci eu urna mollis porttitor. Nunc nisi ante, gravida at velit eu, aliquet sodales dui. Sed laoreet condimentum nisi a egestas.</p><p>Donec interdum ante ut enim consequat, quis varius nulla dapibus. Vivamus mollis fermentum augue a varius. Vestibulum in sapien at lectus gravida lobortis vulputate sed metus. Duis scelerisque justo et maximus efficitur. Donec eu eleifend quam. Curabitur aliquet commodo sapien eget vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum vel aliquet nunc, finibus posuere lorem. Suspendisse consectetur volutpat est ut ornare.</p>
    </div>
  </div>
  <div class="tab-2">
    <label for="tab2-2">Второе</label>
    <input id="tab2-2" name="tabs-two" type="radio">
    <div>
      <p>Quisque sit amet turpis leo. Maecenas sed dolor mi. Pellentesque varius elit in neque ornare commodo ac non tellus. Mauris id iaculis quam. Donec eu felis quam. Morbi tristique lorem eget iaculis consectetur. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aenean at tellus eget risus tempus ultrices. Nam condimentum nisi enim, scelerisque faucibus lectus sodales at.</p>
    </div>
  </div>
</div>
[/html]

0

35

[html]
<style>

.contenedor {
  width: 560px;
  margin: 0 auto;
  display: flex;
}

.casa {
  /*distribución*/
  height: 300px;
  flex-grow: 1;
  /*text*/
  font-family: Harry Potter, Arial;
  color: white;
  text-align: center;
  font-size: 18px;
  padding-top: 15px;
  /*background-image*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: 110px 150px;
  /*border-image*/
  border-bottom: 30px solid transparent;
  border-image: url(https://raw.githubusercontent.com/Nesto … iangle.png) 0% 0% 100% 0% stretch;
  /*transición*/
  transition:  0.75s;
}

.casa:hover {
  height: 370px;
  font-size: 30px;
}

#Gryffindor {
  background-color: #A80102;
  background-image: url("https://raw.githubusercontent.com/NestorPlasencia/img/master/Gryffindor.png");
}

#Hufflepuff {
  background-color: #786254;
  background-image: url("https://raw.githubusercontent.com/NestorPlasencia/img/master/Hufflepuff.png");
}

#Ravenclaw {
  background-color: #31446F;
  background-image: url("https://raw.githubusercontent.com/NestorPlasencia/img/master/Ravenclaw.png");
}

#Slytherin {
  background-color: #097146;
  background-image: url("https://raw.githubusercontent.com/NestorPlasencia/img/master/Slytherin.png");
}

</style>
<script>

</script>

<head>
  <link href="//db.onlinewebfonts.com/c/0421d4186d6efbfc5331fe180895e780?family=Harry+Potter" rel="stylesheet" type="text/css"/>
</head>
<body>
  <section class="contenedor">
    <div class="casa" id="Gryffindor">Gryffindor</div>
    <div class="casa" id="Hufflepuff">Hufflepuff</div>
    <div class="casa" id="Ravenclaw">Ravenclaw</div>
    <div class="casa" id="Slytherin">Slytherin</div>
  </section>
</body>

[/html]

0

36

[html]
<style>

</style>
<script>

</script>

<link href='https://fonts.googleapis.com/css?family=La+Belle+Aurore' rel='stylesheet' type='text/css'><table><td><div style='background-image:url(http://fc59.deviantart.com/fs42/f/2009/ … ar_art.jpg ); background-size:100%; transform:rotate(-1deg);-ms-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-webkit-transform:rotate(-2deg);-o-transform:rotate(-2deg); overflow: auto; width:430px;height:220px;font-family: La Belle Aurore; font-size:17px; text-align:left; color: #000; margin-top:30px; padding:15px;line-height:20px;letter-spacing:-1px;'>Hola! ¿Cómo llevas las vacaciones? Me encantaría estar ahí contigo, las playas no son mi fuerte pero me han dicho que hay unos bosques preciosos por la zona. ¡No te olvides de fotografiarlos! Tendrás que contarme muchas cosas a tu vuelta. El verano no es para siempre, y yo ya estoy deseando comenzar el nuevo curso escolar en Hogwarts. ¡Séptimo tiene que molar! Déspués de eso ya veremos qué hacer con nuestras vidas, ¿no crees?
<br>Pd. Se me olvidó tirar esos nuggets, creo que a los gorros rojos no les ha hecho mucha gracia.
<br><br>Mad.</div></td><td><link href='https://fonts.googleapis.com/css?family=Seaweed+Script|Cedarville+Cursive' rel='stylesheet' type='text/css'><center><div style='background-image:url(http://fc59.deviantart.com/fs42/f/2009/ … ar_art.jpg ); background-size:100%; transform:rotate(-1deg);-ms-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-webkit-transform:rotate(-2deg);-o-transform:rotate(-2deg); overflow: auto; width:430px;height:220px;font-family: Seaweed Script, cursive; font-size:17px; text-align:left; color: #000; margin-top:30px; padding:15px;line-height:20px;'>Hola! ¿Cómo llevas las vacaciones? Me encantaría estar ahí contigo, las playas no son mi fuerte pero me han dicho que hay unos bosques preciosos por la zona. ¡No te olvides de fotografiarlos! Tendrás que contarme muchas cosas a tu vuelta. El verano no es para siempre, y yo ya estoy deseando comenzar el nuevo curso escolar en Hogwarts. ¡Séptimo tiene que molar! Déspués de eso ya veremos qué hacer con nuestras vidas, ¿no crees?
<br>Pd. Se me olvidó tirar esos nuggets, creo que a los gorros rojos no les ha hecho mucha gracia.
<br><br>Mad.</div></center></td><td><link href='https://fonts.googleapis.com/css?family=Cedarville+Cursive' rel='stylesheet' type='text/css'><div style='background-image:url(http://fc59.deviantart.com/fs42/f/2009/ … ar_art.jpg ); background-size:100%; transform:rotate(-1deg);-ms-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-webkit-transform:rotate(-2deg);-o-transform:rotate(-2deg); overflow: auto; width:430px;height:220px;font-family: Cedarville Cursive, cursive; font-size:17px; text-align:left; color: #000; margin-top:30px; padding:15px;line-height:18px;letter-spacing:-1px;'>Hola! ¿Cómo llevas las vacaciones? Me encantaría estar ahí contigo, las playas no son mi fuerte pero me han dicho que hay unos bosques preciosos por la zona. ¡No te olvides de fotografiarlos! Tendrás que contarme muchas cosas a tu vuelta. El verano no es para siempre, y yo ya estoy deseando comenzar el nuevo curso escolar en Hogwarts. ¡Séptimo tiene que molar! Déspués de eso ya veremos qué hacer con nuestras vidas, ¿no crees?
<br>Pd. Se me olvidó tirar esos nuggets, creo que a los gorros rojos no les ha hecho mucha gracia.
<br><br>Mad.</div></td></table>
<link href='https://fonts.googleapis.com/css?family=Homemade+Apple|Cedarville+Cursive|Dancing+Script' rel='stylesheet' type='text/css'><table><td><div style='background-image:url(http://fc59.deviantart.com/fs42/f/2009/ … ar_art.jpg ); background-size:100%; transform:rotate(-1deg);-ms-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-webkit-transform:rotate(-2deg);-o-transform:rotate(-2deg); overflow: auto; width:430px;height:240px;font-family: Homemade Apple, cursive; font-size:13px; text-align:left; color: #000; margin-top:30px; padding:15px;line-height:18px;letter-spacing:1px;'>Hola! ¿Cómo llevas las vacaciones? Me encantaría estar ahí contigo, las playas no son mi fuerte pero me han dicho que hay unos bosques preciosos por la zona. ¡No te olvides de fotografiarlos! Tendrás que contarme muchas cosas a tu vuelta. El verano no es para siempre, y yo ya estoy deseando comenzar el nuevo curso escolar en Hogwarts. ¡Séptimo tiene que molar! Déspués de eso ya veremos qué hacer con nuestras vidas, ¿no crees?
<br>Pd. Se me olvidó tirar esos nuggets, creo que a los gorros rojos no les ha hecho mucha gracia.
<br><br>Mad.</div></td><td><link href='https://fonts.googleapis.com/css?family=Nothing+You+Could+Do' rel='stylesheet' type='text/css'><center><div style='background-image:url(http://fc59.deviantart.com/fs42/f/2009/ … ar_art.jpg ); background-size:100%; transform:rotate(-1deg);-ms-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-webkit-transform:rotate(-2deg);-o-transform:rotate(-2deg); overflow: auto; width:430px;height:220px;font-family: Nothing You Could Do, cursive; font-size:13px; text-align:left; color: #000; margin-top:30px; padding:15px;line-height:20px;letter-spacing:-1px;'>Hola! ¿Cómo llevas las vacaciones? Me encantaría estar ahí contigo, las playas no son mi fuerte pero me han dicho que hay unos bosques preciosos por la zona. ¡No te olvides de fotografiarlos! Tendrás que contarme muchas cosas a tu vuelta. El verano no es para siempre, y yo ya estoy deseando comenzar el nuevo curso escolar en Hogwarts. ¡Séptimo tiene que molar! Déspués de eso ya veremos qué hacer con nuestras vidas, ¿no crees?
<br>Pd. Se me olvidó tirar esos nuggets, creo que a los gorros rojos no les ha hecho mucha gracia.
<br><br>Mad.</div></center></td><td><div style='background-image:url(http://fc59.deviantart.com/fs42/f/2009/ … ar_art.jpg ); background-size:100%; transform:rotate(-1deg);-ms-transform:rotate(-2deg);-moz-transform:rotate(-2deg);-webkit-transform:rotate(-2deg);-o-transform:rotate(-2deg); overflow: auto; width:430px;height:220px;font-family: Dancing Script, cursive; font-size:17px; text-align:left; color: #000; margin-top:30px; padding:15px;line-height:18px;letter-spacing:1px;'>Hola! ¿Cómo llevas las vacaciones? Me encantaría estar ahí contigo, las playas no son mi fuerte pero me han dicho que hay unos bosques preciosos por la zona. ¡No te olvides de fotografiarlos! Tendrás que contarme muchas cosas a tu vuelta. El verano no es para siempre, y yo ya estoy deseando comenzar el nuevo curso escolar en Hogwarts. ¡Séptimo tiene que molar! Déspués de eso ya veremos qué hacer con nuestras vidas, ¿no crees?
<br>Pd. Se me olvidó tirar esos nuggets, creo que a los gorros rojos no les ha hecho mucha gracia.
<br><br>Mad.</div></td></table>

[/html]

0

37

[html]
<style>

body {
    background-color: #2e1715;
    color: #603913;
    font-family: 'Port Lligat Slab', serif;
    text-shadow: 2px 2px #c7b299;
    padding-left: 3em;
    padding-right: 3em;
}

.resize {
    font-size: .65em;
}

#wrapper {
    background-image: url('http://www.public.asu.edu/~msimshau/GIT237/scroll.jpg');
    background-repeat: no-repeat;
    background-size: 800px 1500px;
    background-position: center;
    padding-right: 110px;
    padding-left: 110px;
  }   

#mainContent {
    padding-bottom: 3em;
    margin-left: 5em;
    margin-right: 5em;
}

h1 {
    font-size: 5em;
    font-family: 'Grand Hotel', cursive;
    text-align: center;
    color: #550a0d;
    text-shadow: 2px 2px #c7b299;
    padding-top: .5em; 
    margin-bottom: .001em;
}

#wedding {
    font-size: 1.25em;
}

h2 {
    font-family: 'Amatic SC', cursive;     
    font-size: 3.75em;
    text-align: center; 
    margin-top: .1em;
    margin-bottom: .1em;
}

.cap {
    font-size: 150%;
}

#address {
    font-family: 'Amatic SC', cursive;
    font-size: 3em;
    text-align: center;
    margin-top: .2em;
    margin-bottom: .2em;
}

p {
    font-family: 'Grand Hotel', cursive;
    font-size: 2.5em;
    text-align: center;
    width: auto;
    position: relative;
   
}

#container {
    overflow: auto;
    width:
}

footer {
    font-family: 'Amatic SC', cursive;
    font-size: 2.5em;
    text-align: center;
    margin-top: .7em;
    margin-bottom: .3em;
}

</style>
<script>

</script>

<html>
    <head>
    <meta charset="UTF-8">
      <title>Invitation</title>
    <link href="https://fonts.googleapis.com/css?family=Amatic+SC|Grand+Hotel|" rel="stylesheet">
    <link rel="stylesheet" href="invite-style.css">
</head>

  <body>
    <div id="wrapper">

  <header>
    <h1><span class="cap">H</span>arry &amp; <span class="cap">G</span>inny's<br>
      <span id="wedding">Wedding</span></h1>
  </header>

    <section id="mainContent">

    <h2>May 4<span class="resize">,</span> 2010 <span class="resize">at </span><time datetime="15:00">3:00<span class="resize">PM</span></time></h2>
   
      <div id="address">

      <dl>
   
        <dt>1885 Hogwarts Castle</dt>
        <dt>Edinburgh<span class="resize">,</span> Scotland</dt>
        <dt>Hogwarts Great hall</dt>

      </dl>
      </div>

<div id="container">     
  <p>Join Harry &amp; Ginny as they embark</br>
      on their greatest adventure in holy matrimony.</br>
      Enchanted reception to follow ceremony.</p>
      </div>
<footer>Kindly RSVP <span class="resize">via</span> owl <span class="resize">to</span> Mr. <span class="resize">&amp;</span> Mrs. Weasley <span class="resize">at</span> The Burrow <span class="resize">by</span> April 1<span class="resize">st</span></footer>
   
    </section>
    </div>
  </body>
</html>

[/html]

0

38

[html]
<style>

@import url('https://fonts.googleapis.com/css2?family=Pattaya&display=swap" rel="stylesheet');

.letter {
  background: url(https://i.ibb.co/NYxPdyK/lette.png);
  box-sh-adow: 0 0 10px rgba(0,0,0,0.3);
    margin: 34px 35px 35px;
    max-width: 509px;
    min-height: 400px;
    padding: 180px 35px 0px 13px;
    position: relative;
    width: 80%;
    font-family: 'Pattaya', sans-serif;
    text-align: center;
    color: #5d2525;
}
.letter:before, .letter:after {
  content: "";
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: -1;
}
.letter:before {
  background: #b06245;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  left: -5px;
  top: 4px;
  transform: rotate(-2.5deg);
}
.letter:after {
  background: #493229;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
  right: -3px;
  top: 1px;
  transform: rotate(1.4deg);
}

.punbb .post-content p1 {
    margin: 0;
    padding: 0 0 1em 0;
    line-height: 150%;
    font-size: 18px;
</style>
<script>

</script>

<div class="letter">
  <p>Директор: Альбус Дамблдор</p>
  <p>(Кавалер ордена Мерлина I степени, Великий волшебник, Верховный, чародей, Президент Международной конфедерации магов)</p>
  <p1>Дорогой(ая) мистер (миссис) Гость!</p>
<p></p>
  <p1>Мы рады проинформировать Вас, что Вам предоставлено место в Школе чародейства и волшебства «Хогвартс». Пожалуйста, ознакомьтесь с приложенным к данному письму списком необходимых книг и предметов.
Занятия начинаются 1 сентября. Ждём вашу сову не позднее 31 июля.</p>
<p></p>
<p></p>
  <p>Искренне Ваша, Минерва МакГонагалл, заместитель директора!</p>
</div>

[/html]

0

39

[html]
<style>

.movie-card{
padding: 40px 0;
color: #575756;
}
.container{
width: 619px;
height: 640px;

margin:0 auto;
border-radius:5px;
background: #F0F0ED;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
position: relative;
}

.cover{

height:365px;
position: relative;
  overflow: hidden;
  z-index:1;
  margin:0;
  border-top-left-radius:5px;
  border-top-right-radius:5px;
}
.cover:before {
content:'';
width:100%; height:100%;
  position:absolute;
  overflow: hidden;
  top:0; left:0;
  z-index: -1;
  border-radius: 20px;
transform-origin:0 0;
  background: url("https://i.pinimg.com/564x/15/ca/e9/15cae994182dd9c75bf515876e088da4.jpg") ;
}
a {
  text-decoration: none;
  color: #5C7FB8
}
a:hover{
text-decoration:underline;
}
.menu{
text-align: center;
padding: 250px 0 0 0px;
z-index:1;

}

.title{
color: white;
font-size: 44px;
}
.columntag{
padding-top: 200px;
}

.cast{
float: left;
width: 250px;
margin-left: 10px;
padding-top: 35px;
}
.cast img{
border-radius:50%;
cursor: pointer;
border: 3px solid white;
        width: 50px;

}
.cast img:hover{
opacity:0.6;
}
.cast a:hover{
text-decoration: none;
}

.text{
float:right;
width: 350px;
padding-top: 50px;
}
.guide{
text-align: left;
padding-top: 200px;
padding-left: 10px;
}
.guide a {
color:#A9A8A3;
}
.guide a:hover{
color: #bdbdbd;
}

a[data-tooltip] {
  position: relative;
}
a[data-tooltip]::before,
a[data-tooltip]::after {
  position: absolute;
  display: none;
  opacity: 0.85;
}
a[data-tooltip]::before {
  /*
   * using data-tooltip instead of title so we
   * don't have the real tooltip overlapping
   */
  content: attr(data-tooltip);
  background: #000;
  color: #fff;
  font-size: 13px;
  padding: 5px;
  border-radius: 5px;
  /* we don't want the text to wrap */
  white-space: nowrap;
  text-decoration: none;
}
a[data-tooltip]::after {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  content: '';
}

a[data-tooltip]:hover::before,
a[data-tooltip]:hover::after {
  display: block;
}

/** positioning **/

a[data-tooltip][data-placement="top"]::before {
  bottom: 100%;
  left: 0;
  margin-bottom: 40px;
}
a[data-tooltip][data-placement="top"]::after {
  border-top-color: #000;
  border-bottom: none;
  bottom: 50px;
  left: 20px;
  margin-bottom: 4px;
}
</style>
<script>

</script>

<div class="movie-card">
<div class="container">
   
    <div class="cover" >
   

    <div class="menu">
   
        <div class="title">Сейлор Мун: узники Кинмоку </div>
   
    </div>
   
   
       
   
   
   
    </div>
    <div class="info">
    <div class="cast">
        <h2>Действующие лица:</h2>
        <a href="#" data-tooltip="Герой 1" data-placement="top">
                <img src="https://forumupload.ru/uploads/001a/bc/d0/17/339594.gif" alt="avatar1" />
              </a>
              <a href="#" data-tooltip="Герой 1" data-placement="top">
                <img src="https://forumupload.ru/uploads/001a/bc/d0/17/339594.gif" alt="avatar2" />
              </a>
              <a href="#" data-tooltip="Герой 1" data-placement="top">
                <img src="https://forumupload.ru/uploads/001a/bc/d0/17/339594.gif" alt="avatar3" />
              </a>
              <a href="#" data-tooltip="Герой 1" data-placement="top">
                <img src="https://forumupload.ru/uploads/001a/bc/d0/17/339594.gif" alt="avatar4" />
              </a>
             
    </div>
    <div class="text">
    Вновь сон. Один из тех, нещадно сжимавших грудь, заставлявших задуматься,  погружавших , будто, в воспоминания, которые все еще не позволили раскрыть себя.  К подобным ночным переживаниям Саюри стала относиться теперь несколько отстраненно. В противном случае, участившиеся ночные кошмары, та странная музыка, наполнявшая трепетом боли сад несколько дней тому назад, рассуждения на тему: «Кто я есть?», — все это не давало возможности разуму отдохнуть. Казалось, что если кирин углубится в это беспокойство, переступит грань реальности, окунувшись в омут снов и навеянных грез, то сойдет с ума…
    </div>
   
   
    </div>

   
   
   
   

</div>
</div>

[/html]

0

40

[html]
<style>

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

$border-color: #73BFB5;

html, body {
  overflow: hidden;
  background-color: #bf737d;
  width: 100%;
  height: 100%;
}

.card {
  position: relative;
  width: 400px;
  height: 425px;
  border: 10px solid $border-color;
  margin: 50px auto 0 auto;
  box-shadow: inset 10px 0px 15px 0px rgba(0,0,0,0.1);
  background-color: rgb(230, 240, 230);
  overflow: hidden;
  margin-left: 300px;
}

.card .text-container {
  width: 80%;
  height: 80%;
  margin: auto;
}

.card .text-container #head {
  font-family: 'Nobile', sans-serif;
  font-size: 1.5em;
  margin: 60px auto 60px auto;
}

.card p {
  font-size: 1.1em;
  line-height: 1.4;
  font-family: 'Nobile';
  color: #331717;
  font-style: italic;
  text-align: center;
  margin: 30px auto 0px auto;
}

.card .front {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: -10px 0px 0px -10px;
  border: 10px solid $border-color;
  backface-visibility: hidden;
  background-color: rgb(115, 163, 191);
  /* background-image: url($cover-image); */
  background-size: contain;
  transform-style: preserve-3d;
  transform-origin: 0% 50%;
  transform: perspective(800px) rotateY(0deg);
  transition: all 0.8s ease-in-out;
}

.card:hover .front {
  transform: perspective(800px) rotateY(-170deg);
  background-color: rgb(115-50, 163-50, 191-50);
}

.card:hover .back {
  transform: perspective(800px) rotateY(-170deg);
  box-shadow: 7px 0px 5px 0px rgba(0,0,0,0.3), inset 2px 0px 15px 0px rgba(0,0,0,0.1);
  background-color: rgb(210, 220, 210);
}

.card .back {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 10px solid $border-color;
  margin: -10px 0px 0px -10px;
  backface-visibility: visible;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,.5));
  transform-style: preserve-3d;
  transform-origin: 0% 50%;
  transform: perspective(800px) rotateY(0deg);
  transition: all 0.8s ease-in-out;
  background-color: rgb(230, 240, 230);
  box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.1);
}

.cover-shape-large {
  position: absolute;
  width: 65%;
  height: 48%;
  top: 25%;
  left: 18%;
  /* transform: rotateZ(45deg); */
}

.cover-shape-large .shape-block, .cover-shape-large .shape-diamond {
  background-color: #73bf8f;
}

.cover-shape-small {
  position: absolute;
  width: 50%;
  height: 36%;
  top: 30%;
  left: 25%;
}

.shape-block {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.5);
}

#shape-image {
  background-image: url('http://freedesignfile.com/upload/2013/02/Birthday-cake-vector-4.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.shape-diamond {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: white;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
  transform: rotateZ(45deg);
}

/* cake animation stuff from: https://codepen.io/WithAnEs/pen/OVZRvg
   not created by me! It's by Mark Thomes.
*/
$vanilla: #f0e4d0;
$chocolate: #553c13;
$size: 0.4;

@mixin foodColoring($color) {
    background-color: $color;
    box-shadow:
        0 2px 0px lighten($color, 5%),
        0 4px 0px darken($color, 8.2%),
        0 6px 0px darken($color, 8.4%),
        0 8px 0px darken($color, 8.6%),
        0 10px 0px darken($color, 8.8%),
        0 12px 0px darken($color, 9%),
        0 14px 0px darken($color, 9.2%),
        0 16px 0px darken($color, 9.4%),
        0 18px 0px darken($color, 9.6%),
        0 20px 0px darken($color, 9.8%),
        0 22px 0px darken($color, 10%),
        0 24px 0px darken($color, 10.2%),
        0 26px 0px darken($color, 10.4%),
        0 28px 0px darken($color, 10.6%),
        0 30px 0px darken($color, 10.8%);
}

.cake {
    position: absolute;
    width: 250px*$size;
    height: 200px*$size;
    top: 45%;
    left: 50%;
    margin-top: -70px*$size;
    margin-left: -125px*$size;
}

.cake > * {
    position: absolute;
    /* backface-visibility: hidden; */
}

.layer {
    position: absolute;
    display: block;
    width: 250px*$size;
    height: 100px*$size;
    border-radius: 50%;
    @include foodColoring($chocolate);
}

.layer-top { top: 0px; }
.layer-middle { top: 33px*$size; }
.layer-bottom { top: 66px*$size; }

.icing {
    top: 2px*$size;
    left: 5px*$size;
    background-color: $vanilla;
    width: 240px*$size;
    height: 90px*$size;
    border-radius: 50%;
    &:before {
        content: "";
        position: absolute;
        top: 4px;
        right: 5px;
        bottom: 6px;
        left: 5px;
        background-color: lighten($vanilla, 3%);
        box-shadow:
            0 0 4px lighten($vanilla, 5%),
            0 0 4px lighten($vanilla, 5%),
            0 0 4px lighten($vanilla, 5%);
        border-radius: 50%;
        /* z-index: 1; */
    }
}

.drip {
    display: block;
    width: 50px*$size;
    height: 60px*$size;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: $vanilla;
}

.drip1 {
    top: 55px*$size;
    left: 5px*$size;
    transform: skewY(15deg);
    height: 48px*$size;
    width: 40px*$size;
}

.drip2 {
    top: 75px*$size;
    left: 181px*$size;
    transform: skewY(-15deg);
}

.drip3 {
    top: 84px*$size;
    left: 90px*$size;
    width: 80px*$size;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.candle {
    background-color: #bf737d;
    width: 16px*$size;
    height: 50px*$size;
    border-radius: 8px / 4px;
    top: -20px*$size;
    left: 50%;
    margin-left: -8px*$size;
    /* z-index: 10; */
    &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 16px*$size;
        height: 8px*$size;
        border-radius: 50%;
        background-color: lighten(#bf737d, 10%);
    }
}

.flame {
    position: absolute;
    background-color: orange;
    width: 15px*$size;
    height: 35px*$size;
    border-radius: 10px 10px 10px 10px / 25px 25px 10px 10px;
    top: -34px*$size;
    left: 50%;
    margin-left: -7.5px*$size;
    /* z-index: 10; */
    box-shadow:
        0 0 10px rgba(orange, 0.5),
        0 0 20px rgba(orange, 0.5),
        0 0 60px rgba(orange, 0.5),
        0 0 80px rgba(orange, 0.5);
    transform-origin: 50% 90%;
    animation: flicker 1s ease-in-out infinite;
}

@keyframes flicker {
    0% {
        /* transform: rotateZ(5deg); */
        box-shadow:
            0 0 10px rgba(orange, 0.2),
            0 0 20px rgba(orange, 0.2),
            0 0 60px rgba(orange, 0.2),
            0 0 80px rgba(orange, 0.2) }
    25% {
        /* transform: rotateZ(-5deg); */
        box-shadow:
            0 0 10px rgba(orange, 0.5),
            0 0 20px rgba(orange, 0.5),
            0 0 60px rgba(orange, 0.5),
            0 0 80px rgba(orange, 0.5) }
    50% {
        /* transform: rotateZ(10deg); */
        box-shadow:
            0 0 10px rgba(orange, 0.3),
            0 0 20px rgba(orange, 0.3),
            0 0 60px rgba(orange, 0.3),
            0 0 80px rgba(orange, 0.3) }
    75% {
        /* transform: rotateZ(-10deg); */
        box-shadow:
            0 0 10px rgba(orange, 0.4),
            0 0 20px rgba(orange, 0.4),
            0 0 60px rgba(orange, 0.4),
            0 0 80px rgba(orange, 0.4) }
    100% {
        /* transform: rotateZ(5deg); */
        box-shadow:
            0 0 10px rgba(orange, 0.5),
            0 0 20px rgba(orange, 0.5),
            0 0 60px rgba(orange, 0.5),
            0 0 80px rgba(orange, 0.5) }
}

</style>
<script>

</script>

<div class="card">
  <div class="back"></div>
  <div class="front">
    <div class="cover-shape-large">
      <div class="shape-diamond"></div>
      <div class="shape-block"></div>
    </div>
    <div class="cover-shape-small">
      <div class="shape-diamond"></div>
      <div class="shape-block">
        <div class="cake">
          <div class="layer layer-bottom"></div>
          <div class="layer layer-middle"></div>
          <div class="layer layer-top"></div>
          <div class="icing"></div>
          <div class="drip drip1"></div>
          <div class="drip drip2"></div>
          <div class="drip drip3"></div>
          <div class="candle">
            <div class="flame"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
 
  <div class="text-container">
    <p id="head">С Днем Рождения Лунафрейя!</p>
    <p>Поздравляю!  </p>
<p>С днем рождения, с прекрасным днем! Пусть ничто не мешает тебе чувствовать себя совершенно счастливым! Пусть со временем ум превращается в мудрость, здоровье - в кремень, привлекательность - в красоту, деньги - в недвижимость, а жизнь - в сплошное удовольствие!</p>
  </div>
</div>

[/html]

0

41

[hideprofile][html]
<style>

*{
  margin:0;
  padding:0;
}

.container{  padding-top: 20px;
  padding-bottom: 20px;
    margin-left: -40px;}

.background-img{
  background-image: url("https://i.redd.it/ue05165ttiz31.png");
height: 400px;
  width: 680px;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 5% auto;
  padding:20px;
  border: 1px solid #2a3cad;
  border-radius: 4px;
  box-shadow: 0px 0px 5px #2a3cad;
  position: relative;
}

.content h2{ font-size:19px;}

.box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 300px;
  background: #111845a6;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 20px 50px rgb(23, 32, 90);
  border: 2px solid #2a3cad;
  color: white;
  padding: 20px;
}

.box:before{
  content: '';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background: rgba(255,255,255,0.1);
  transition:0.5s;
  pointer-events: none;
}

.box:hover:before{
  left:-50%;
  transform: skewX(-5deg);
}

.box .content{
  position:absolute;
  top:15px;
  left:15px;
  right:15px;
  bottom:15px;
  border:1px solid #f0a591;
  padding:20px;
  text-align:center;
  box-shadow: 0 5px 10px rgba(9,0,0,0.5);
overflow: overlay;
 
}

.box span{
  position: absolute;
  top: 0;
  left: -2px;
  width: 700px;
  height: 234%;
  display: block;
  box-sizing: border-box;
 
}

.box span:nth-child(1)
{
  transform:rotate(0deg);
}

.box span:nth-child(2)
{
  transform:rotate(90deg);
    margin-left: 2px;
}

.box span:nth-child(3)
{
    transform: rotate(180deg);
    margin-top: -396px;
}

.box span:nth-child(4)
{
  transform:rotate(270deg);
    margin-left: -2px;
}

.box span:before
{
  content: '';
  position: absolute;
  width:100%;
  height: 2px;
  background: #50dfdb;
  animation: animate 4s linear infinite;
}

@keyframes animate {
  0% {
  transform:scaleX(0);
  transform-origin: left;
  }
  50%
  {
    transform:scaleX(1);
  transform-origin: left;
  }
  50.1%
  {
    transform:scaleX(1);
  transform-origin: right;
   
  }
 
  100%
  {
    transform:scaleX(0);
  transform-origin: right;
   
  }
 
 
}
</style>
<script>

</script>

<section>
  <div class="container">
    <div class="background-img">
      <div class="box">
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <div class="content">
          <h2>Город Наверху</h2>
          <p><a href="#" style="color:#00ffe9;" target="_blank">Зал Совета директоров много лет не ремонтировали, священные фрески, которыми был расписан потолок, почти выцвели, пошли замысловатыми пятнами сырости, придававшими загадочность батальным сценам.</a>
<br>
Господин директор Спел разглядывал потолок, словно стараясь угадать смысл в изображениях. Он не хотел показывать, что интересуется происходящим.
<br>
Господин директор Мекиль, начальник полиции, уже заканчивал свою разгромную речь, и до слуха Спела долетали лишь отрывки фраз: «... преступно нарушив Порядок, инженер Лемень... опорочив честное имя одного из самых уважаемых семейств, инженер Лемень...»
<br>
Мекиль, по прозвищу Мокрица, имел в виду семейство Спелов. Инженер Лемень вознамерился жениться на дочери Спела.
<br>
Шестнадцать директоров, сидевших в жестких деревянных креслах вокруг массивного, отполированного локтями стола, слушали внимательно, и каждый из них старался понять, какую угрозу для них таит гневная речь Мокрицы. Тощий, мрачный, похожий на летучую мышь, Первый директор Калгар задумчиво крутил пальцами колокольчик. Его не устраивало усиление позиции начальника полиции.
<br>
Калгар покосился на Спела. Тот разглядывал фрески на потолке. Он не посмел пойти против Мокрицы и теперь делает вид, что слова Мекиля его не касаются.</p>
        </div>
       
      </div>
    </div>
  </div>
</section>

[/html]

0

42

[hideprofile][html]
<style>

/* Gallery and Images */
div, div::before, div::after,
img {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.gallery {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
}

.image {
    width: 100px;
    height: 250px;
    flex-grow: 1;
    flex-shrink: 1;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all .3s linear;
}

.gotit {
   filter: contrast(0.5);
}

div:hover img{
  opacity: .8;
  -webkit-filter: blur(2px);
  filter: blur(2px);
    cursor: pointer;
}

div img:hover {
  box-shadow: 0 5px 15px gba(0, 0, 0, 0.4);
  opacity: 1;
  transform: scale(1.08);
  -webkit-filter: blur(0);
  filter: blur(0);
}

</style>
<script>

</script>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Image Gallery</title>
    <link rel="stylesheet" href="css/style.css">
    <script src="js/script.js" defer></script>   
</head>
<body>
  <div id="gallery" class="gallery">
    <img src="http://www.awesomeinventions.com/wp-content/uploads/2015/04/empress-sailor-moon-tarot.jpg" width="180" height="400" class="gotit">
    <img src="http://static02.mediaite.com/themarysue/uploads/gallery/sailor-moon-tarot-1/tarot6.jpg" width="180" height="400">
    <img src="http://cdn.escapistmagazine.com/media/global/images/library/deriv/904/904155.jpg" width="180" height="400">
    <img src="http://www.awesomeinventions.com/wp-content/uploads/2015/04/high-priestess-sailor-moon-tarot.jpg" width="180" height="400">
  </div>

</body>
</html>

[/html]

0

43

[html]
<style>

/* Lazy Load Styles */
.card-image {
display: block;
min-height: 20rem; /* layout hack */
background: #fff center center no-repeat;
background-size: cover;
filter: blur(3px); /* blur the lowres image */
}

.card-image > img {
display: block;
width: 100%;
opacity: 0; /* visually hide the img element */
}

.card-image.is-loaded {
filter: none; /* remove the blur on fullres image */
transition: filter 1s;
}

/* Layout Styles */
html, body {
width: 100%;
height: 100%;
margin: 0;
font-size: 16px;
font-family: sans-serif;
}

.card-list {
display: block;
margin: 1rem auto;
padding: 0;
font-size: 0;
text-align: center;
list-style: none;
}

.card {
display: inline-block;
width: 90%;
max-width: 20rem;
margin: 1rem;
font-size: 1rem;
text-decoration: none;
overflow: hidden;
box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);
transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.card:hover {
transform: translateY(-0.5rem) scale(1.0125);
box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);
}

.card-description {
display: block;
padding: 1em 0.5em;
color: #515151;
text-decoration: none;
}

.card-description > h2 {
margin: 0 0 0.5em;
}

.card-description > p {
margin: 0;
}

</style>
<script>

// This is "probably" IE9 compatible but will need some fallbacks for IE8
// - (event listeners, forEach loop)

// wait for the entire page to finish loading
window.addEventListener('load', function() {

// setTimeout to simulate the delay from a real page load
setTimeout(lazyLoad, 1000);

});

function lazyLoad() {
var card_images = document.querySelectorAll('.card-image');

// loop over each card image
card_images.forEach(function(card_image) {
    var image_url = card_image.getAttribute('data-image-full');
    var content_image = card_image.querySelector('img');
   
    // change the src of the content image to load the new high res photo
    content_image.src = image_url;
   
    // listen for load event when the new photo is finished loading
    content_image.addEventListener('load', function() {
    // swap out the visible background image with the new fully downloaded photo
    card_image.style.backgroundImage = 'url(' + image_url + ')';
    // add a class to remove the blur filter to smoothly transition the image change
    card_image.className = card_image.className + ' is-loaded';
    });
   
});

}

</script>

<ul class="card-list">

<li class="card">
    <a class="card-image" href="https://michellezauner.bandcamp.com/album/psychopomp-2" target="_blank" style="background-image: url(https://s3-us-west-2.amazonaws.com/s.cd … mp-100.jpg);" data-image-full="https://s3-us-west-2.amazonaws.com/s.cdpn.io/310408/psychopomp-500.jpg">
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/310408/psychopomp-100.jpg" alt="Psychopomp" />
    </a>
    <a class="card-description" href="https://michellezauner.bandcamp.com/album/psychopomp-2" target="_blank">
    <h2>Psychopomp</h2>
    <p>Japanese Breakfast</p>
    </a>
</li>

<li class="card">
    <a class="card-image" href="https://inlovewithaghost.bandcamp.com/album/lets-go" target="_blank" style="background-image: url(https://s3-us-west-2.amazonaws.com/s.cd … go-100.jpg);" data-image-full="https://s3-us-west-2.amazonaws.com/s.cdpn.io/310408/lets-go-500.jpg">
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/310408/lets-go-100.jpg" alt="let's go" />
    </a>
    <a class="card-description" href="https://inlovewithaghost.bandcamp.com/album/lets-go" target="_blank">
    <h2>let's go</h2>
    <p>In Love With A Ghost</p>
    </a>
</li>

<li class="card">
    <a class="card-image" href="https://vulfpeck.bandcamp.com/album/the-beautiful-game" target="_blank" style="background-image: url(https://s3-us-west-2.amazonaws.com/s.cd … me-100.jpg);" data-image-full="https://s3-us-west-2.amazonaws.com/s.cdpn.io/310408/beautiful-game-500.jpg">
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/310408/beautiful-game-100.jpg" alt="The Beautiful Game" />
    </a>
    <a class="card-description" href="https://vulfpeck.bandcamp.com/album/the-beautiful-game" target="_blank">
    <h2>The Beautiful Game</h2>
    <p>Vulfpeck</p>
    </a>
</li>

<li class="card">
    <a class="card-image" href="https://convergecult.bandcamp.com/album/jane-doe" target="_blank" style="background-image: url(https://s3-us-west-2.amazonaws.com/s.cd … oe-100.jpg);" data-image-full="https://s3-us-west-2.amazonaws.com/s.cdpn.io/310408/jane-doe-500.jpg">
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/310408/jane-doe-100.jpg" alt="Jane Doe" />
    </a>
    <a class="card-description" href="https://convergecult.bandcamp.com/album/jane-doe" target="_blank">
    <h2>Jane Doe</h2>
    <p>Converge</p>
    </a>
</li>

</ul>

[/html]

0

44

[hideprofile][html]
<style>

@import url(https://fonts.googleapis.com/css?family=Raleway);

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

body{
  background: #f9f9f9;
  font-size: 16px;
  font-family: 'Raleway', sans-serif;
}

.main-title{
  color: #2d2d2d;
  text-align: center;
  text-transform: capitalize;
  padding: 0.7em 0;
}

.container{
  padding: 1em 0;
  float: left;
  width: 50%;
}
@media screen and (max-width: 640px){
  .container{
    display: block;
    width: 100%;
  }
}

@media screen and (min-width: 900px){
  .container{
    width: 33.33333%;
  }
}

.container .title{
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 10px;
}

.content {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: auto;
  overflow: hidden;
}

.content .content-overlay {
  background: rgba(0,0,0,0.7);
  position: absolute;
  height: 99%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay{
  opacity: 1;
}

.content-image{
  width: 100%;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.content-details h3{
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.content-details p{
  color: #fff;
  font-size: 0.8em;
}

.fadeIn-bottom{
  top: 80%;
}

.fadeIn-top{
  top: 20%;
}

.fadeIn-left{
  left: 20%;
}

.fadeIn-right{
  left: 80%;
}

</style>
<script>

</script>

<h1 class="main-title">Simple image overlay hover effects</h1>

<div class="container">
  <h3 class="title">Text fadeIn bottom</h3>
  <div class="content">
    <a href="https://unsplash.com/photos/HkTMcmlMOUQ" target="_blank">
      <div class="content-overlay"></div>
      <img class="content-image" src="https://images.unsplash.com/photo-1433360405326-e50f909805b3?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=359e8e12304ffa04a38627a157fc3362">
      <div class="content-details fadeIn-bottom">
        <h3 class="content-title">This is a title</h3>
        <p class="content-text">This is a short description</p>
      </div>
    </a>
  </div>
</div>

<div class="container">
  <h3 class="title">Text fadeIn top</h3>
  <div class="content">
    <a href="https://unsplash.com/photos/HkTMcmlMOUQ" target="_blank">
      <div class="content-overlay"></div>
      <img class="content-image" src="https://images.unsplash.com/photo-1433360405326-e50f909805b3?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=359e8e12304ffa04a38627a157fc3362">
      <div class="content-details fadeIn-top">
        <h3>This is a title</h3>
        <p>This is a short description</p>
      </div>
    </a>
  </div>
</div>

<div class="container">
  <h3 class="title">Text fadeIn left</h3>
  <div class="content">
    <a href="https://unsplash.com/photos/HkTMcmlMOUQ" target="_blank">
      <div class="content-overlay"></div>
      <img class="content-image" src="https://images.unsplash.com/photo-1433360405326-e50f909805b3?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=359e8e12304ffa04a38627a157fc3362">
      <div class="content-details fadeIn-left">
        <h3>This is a title</h3>
        <p>This is a short description</p>
      </div>
    </a>
  </div>
</div>

<div class="container">
  <h3 class="title">Text fadeIn right</h3>
  <div class="content">
    <a href="https://unsplash.com/photos/HkTMcmlMOUQ" target="_blank">
      <div class="content-overlay"></div>
      <img class="content-image" src="https://images.unsplash.com/photo-1433360405326-e50f909805b3?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=359e8e12304ffa04a38627a157fc3362">
      <div class="content-details fadeIn-right">
        <h3>This is a title</h3>
        <p>This is a short description</p>
      </div>
    </a>
  </div>
</div>

<div class="container">
  <h3 class="title">Text fadeIn top left</h3>
  <div class="content">
    <a href="https://unsplash.com/photos/HkTMcmlMOUQ" target="_blank">
      <div class="content-overlay"></div>
      <img class="content-image" src="https://images.unsplash.com/photo-1433360405326-e50f909805b3?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=359e8e12304ffa04a38627a157fc3362">
      <div class="content-details fadeIn-top fadeIn-left">
        <h3>This is a title</h3>
        <p>This is a short description</p>
      </div>
    </a>
  </div>
</div>

<div class="container">
  <h3 class="title">Text fadeIn top right</h3>
  <div class="content">
    <a href="https://unsplash.com/photos/HkTMcmlMOUQ" target="_blank">
      <div class="content-overlay"></div>
      <img class="content-image" src="https://images.unsplash.com/photo-1433360405326-e50f909805b3?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=359e8e12304ffa04a38627a157fc3362">
      <div class="content-details fadeIn-top fadeIn-right">
        <h3>This is a title</h3>
        <p>This is a short description</p>
      </div>
    </a>
  </div>
</div>

<div class="container">
  <h3 class="title">Text fadeIn bottom left</h3>
  <div class="content">
    <a href="https://unsplash.com/photos/HkTMcmlMOUQ" target="_blank">
      <div class="content-overlay"></div>
      <img class="content-image" src="https://images.unsplash.com/photo-1433360405326-e50f909805b3?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=359e8e12304ffa04a38627a157fc3362">
      <div class="content-details fadeIn-bottom fadeIn-left">
        <h3>This is a title</h3>
        <p>This is a short description</p>
      </div>
    </a>
  </div>
</div>

<div class="container">
  <h3 class="title">Text fadeIn bottom right</h3>
  <div class="content">
    <a href="https://unsplash.com/photos/HkTMcmlMOUQ" target="_blank">
      <div class="content-overlay"></div>
      <img class="content-image" src="https://images.unsplash.com/photo-1433360405326-e50f909805b3?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=359e8e12304ffa04a38627a157fc3362">
      <div class="content-details fadeIn-bottom fadeIn-right">
        <h3>This is a title</h3>
        <p>This is a short description</p>
      </div>
    </a>
  </div>
</div>

[/html]

0

45

[html]
<style>

</style>
<script>

</script>

<html>

<head>
  <title>Copy Text to Clipboard Using Javascript </title>
  <meta name="title" content="Copy Text to Clipboard Using Javascript ">
  <script>
    function copyToClipboard_textArea() {
      var copyText = document.getElementById("myInput");
      copyText.select();
      document.execCommand("Copy");

    }
    function copyToClipboard_div() {
      let textarea = document.createElement('textarea')
      textarea.id = 't'
      textarea.style.height = 0
      document.body.appendChild(textarea)
      textarea.value = document.getElementById("myInput_div").innerText
      let selector = document.querySelector('#t')
      selector.select()
      document.execCommand('copy')
      document.body.removeChild(textarea)
    }
  </script>
</head>

<body class="container">

  <div class="jumbotron">
    <textarea id="myInput" rows="4" cols="50"> Geeks Trick - Copy Code From Text Area  </textarea>
    <br>
    <button class="btn btn-primary" onclick="copyToClipboard_textArea()">Copy text</button>
  </div>

  <div class="jumbotron">
    <div id="myInput_div" style="background-color:yellow;padding:10px;">
      Geeks Trick - Copy Code From Div Tag
    </div>
    <br>
    <button id="my_button" class="btn btn-primary" onclick="copyToClipboard_div()">Copy text</button>
  </div>

</body>

</html>
[/html]

0

46


Wizarding World

волшебный мир

https://i.pinimg.com/originals/25/05/4a/25054aac2e4333449b7381323ab01c87.gif

Gellert Grindelwald
Геллерт Грин-де-Вальд (Гриндевальд), (1883 г.р.) 23 года
краткое инфо
обладатель Бузинной палочки и преподаватель Заклинаний в школе магии Хогвартс


Джейми Кэмпбелл Бауэр

Первая палочка - акация и сердечная жила дракона
Бузинная палочка - основная палочка
Вяз и волос вампуса - в образе Персиваля Грейвса
Черемуха волос сфинкса - в образе Алекса Ретейна (настоящее)
Амортенция - запах кипятка, свежей древесины, шерстяной пряжи
Патронус - Орёл (Феникс)

Tell me your story

Where we all change
And we'd live our lives together
And not estranged

Только молодые волшебники считают свой мир достаточно огромным, чтобы в нем спрятаться. В реальности же все не так, как на самом деле. Любое событие, даже кажущееся самым незначительным, имеет свое влияние, слухи распространяются со скоростью молнии, чего уж говорить о литературе. Одни и те же имена, что впечатаны навеки золотыми буквами в школьные учебники, что сияют, переливаясь всеми оттенками черного в газетах над жуткими статьями, одинаковые сказки и даже романы. Началось все с детских историй Барда Бидля, а закончилось "Разоблачением" Риты Скитер. Не смотря на пропасть между авторами и их конечные цели, у обеих книг оказалось достаточно много общего. Фантазии, как в первом, так и во втором случае, заставили общество заинтересоваться определенными событиями, и действительно упорные смогли добраться до истины.
Один из величайших темных волшебников всех времен и народов, был симпатичным молодым человеком приятной наружности, в облике которого было нечто безумное, пугающее. Многие ожидали от него действительно великих деяний, способных перевернуть мир, но никто даже предположить не мог, насколько страшными они будут. Уже впоследствии преподаватели и историки вздыхали, сетуя на загубленный талант. Наверное, в этом все и дело. Геллерт никогда не собирался соответствовать чьим-то представлениям о том, каким должен быть маг. Он шел своим собственным путем, видя мир немножечко иначе. Разрозненное магическое сообщество не казалось ему процветающим, постоянные межродовые браки не способствовали усилению. Дети могли общаться с себе подобными только в своих магических школах, и никто на самом деле не знал, как живут соседи. Магия давала каждому такой простор и свободу, что даже быт близких родственников, обитающих в разных домах, мог очень сильно отличаться. Не у каждой семьи были именитые предки, оставившие грандиозные особняки, надежно укрытые всеми заклинаниями, некоторые обитали в достаточно странных местах, используя все допустимые и не допустимые методы чтобы хоть как-то улучшить условия. Крошечные городские квартирки расширялись изнутри, загородные домики обрастали причудливыми постройками и все это создавалось фантазией и мастерством волшебников. Узнавая все больше и больше о магическом мире, Геллерт задавался вопросом - а что бы было, если бы не нужно было прятаться? Он был твердо убежден, что они могли бы сделать жизнь лучше для всех, не только для себя. Нужно брать ответственность за будущее.
После отчисления из Дурмстранга в жизни настала черная полоса изредка перемежаемая серой. Геллерт на себе ощутил разрозненность магического сообщества. Он ведь был готов на многие жертвы во имя вышей цели, всеобщего блага, но оказался единственным способным на перемены и достаточно сильным, чтобы из выдержать. Так появилась нехитрая идея о том, что для выхода на новый уровень требуется куда больше могущества. Понимая, что никто кроме него не сможет спасти мир, Геллерт начал поиски Бузинной палочки. И надо тут случиться Альбусу Дамблдору, об которого споткнулся идеалист, эгоист и немножко психопат. Даже сами по себе эти маги были достаточно опасны, стоило только лишь маятнику качнуться в сторону, вместе же они могли хоть уничтожить, хоть переделать мир по своему разумению. По крайней мере, так тогда и казалось. Судьба распорядилась иначе. Мелкий зануда Аберфорт влез не в свое дело, погибла малышка Арианна, все снова покатилось под откос. И привыкнуть бы уже, но Геллерт уже поверил в возможность счастья, которое махнуло хвостом перед самым носом.
Снова потянулись тяжкие дни, наполненные одиночеством, смутной тоской и бесконечными поисками. Альбус из друга превратился в опасного врага, чересчур опасного чтобы оставлять его жить. Раздобыв Бузинную палочку, Геллерт решается навестить старого приятеля в его нынешнем месте обитания - замке Хогвартс, поступив туда в качестве преподавателя по Заклинаниям. Возможно, Дамблдору лучше поостеречься странного профессора Алекса Ретейна? Или он уже сам во всем разобрался и просто слишком самоуверен?
I guess the love we once had
Is officially
Dead!

пробный пост:

В Ферелден ему возвращаться не хотелось. Уж больно не комфортная страна. Холодная земля, мрачные подозрительные граждане, на фоне которых ну никак не скрыться, неудобно спланированные запутанные города, грязные улочки прямо позади дорогих особняков. Но, тем не менее, в самое тяжелое для эльфа время, Ферелден смог дать ему покой и отдых, в которых он так нуждался для того, чтобы решиться изменить свою жизнь. Мор, порождения тьмы, два забавных молодых Стража, культ мабари, разоренные деревни, скверна на Глубинных тропах – всё это живо перекликалось с внутренним состоянием Зеврана. Пожалуй, сложись ситуация чуть иначе, будь Серые в ином положении, то могли бы и потребовать вступления в Орден. Эльф не однократно об этом раздумывал и даже не находил эту идею такой уж отталкивающей. Именно тогда, именно в том состоянии, именно тот Зевран мог бы принять присягу и посерьезнее. Но не сложилось.
На этот раз эльф прибыл в Денерим не в качестве охотника. За ним вновь тащился отряд Воронов, намеренных раз и навсегда положить конец всем неприятным слухам о слабости домов. Преследовали, конечно, по всем канонам антиванской погони: неспешно, стильно, со вкусом. В таком же спокойном темпе Зевран нашел себе в южной столице прибежище, обосновался там, отправил старым знакомым весточку и принялся ждать отклика, который не заставил себя ждать. Он был уверен, что спустя столько времени у его старых соратников появились такие потребности, которые смог был удовлетворить Ворон к их обоюдной выгоде, но вот только он не знал, у кого из них эти потребности прибыльнее. С одной стороны – корона. Там ставки всегда высоки. Правда, Зевран сомневался в способности ферелденцев к тонким продуманным политическим решениям. С другой стороны – молодая и амбициозная Инквизиция, гармонично подменившая собой церковь, храмовников и искателей. Пожалуй, у них ставки и потребности даже повыше будут? Но, Зевран точно знал, у них достаточно агентов по всему миру, как и достаточно рычагов, на которые они могут давить, не опасаясь последствий. Внимание, вопрос: как бы так выбрать, чтобы не рассориться со всеми, да еще и выгоды своей не упустить? За его спиной теперь не было Воронов, только их осколки. Все эти страсти кипели глубоко внутри, внешне эльф никогда не позволял себе выглядеть обеспокоенным или, чего хуже, шибко думающим. Пусть всё идет своим чередом, верно?

За разговорами люди не услышали звука откидываемой щеколды, дверь открылась вовнутрь, давая пройти через узкий тамбур в квадратную комнату. Там их ждала маленькая хрупкая женская фигурка в нижней рубашке с накинутым на плечи коротким плащиком.
— Детей мне не разбудите, — хриплым со сна голосом произнесла она сварливо, жестом приглашая всех заходить как можно быстрее.
Женщина выглядела исхудалой, с землисто-серым лицом и запавшими щеками, да и убранство дома не отличалось особым шиком. В большой квадратной комнате был стол, несколько широких лавок вдоль стен и небольшой камин с дотлевающими угольками. Хозяйка кивком головы велела идти за ней, что в условиях чужого да тесного жилища было не очень удобно. Женщина вышла из общей комнаты в узенький коридор, пройти который можно было лишь по одному, да и то боком, если плечи широки. Она махнула рукой в одну сторону коридора, сама же ушла в другую, где через какое-то время скрипнула кровать и что-то сквозь сон заканючил детский голосок. В небольшой комнатке без двери, в которой помещалась узкая кровать с соломенным тюфяком, прикроватная тумбочка и лавка, расположился Зевран. Он сидел, поджав одну ногу на постели, зашивая какую-то сероватую неопрятного вида дерюгу. На тумбочке тлела лампадка, рядом с ней лежал кусок сыра из таверны и подсохший ломоть хлеба.
— Ах! Гости, — радостно воскликнул он, поднимая голову от своего занятия. – Вот мы и встретились снова! Приятно видеть, как вы повзрослели. Я, признаться, немного знаю о вас. Так что же у нас тут? Король, страж-командор и тайный канцлер как-то пришли в один неприметный домик. Видел я как-то такой сценарий в предложениях от борделя, начиналось там так же.
Зевран завязал нитку и перекусил её зубами, поглядывая на своих гостей.

0

47

[html]
<style>
.page-container {
    width:100%;
    height:100%;
    background-color: #000;
  position:fixed;
 
}
.page-back {
    width:120%;
    height:120%;
    left:-10%;
    top:-10%;
    position: absolute;
    background-image: url(https://ethnomir.ru/upload/medialibrary/b50/art.jpg);
    background-size:cover;
    background-position: center;
    filter:blur(1px);
    -webkit-filter:blur(1px);
}

.text{
  font-family: 'Amatic SC', cursive;
  top:0px;
  width:500px;
  background-color: transparent;
  z-index:2;
  position: relative;
  margin: 0 auto;
  border: 2px solid #fff;
  color:#fff;
  text-align: center;
  font-size: 60px;
  line-height:10px;
 
}
</style>
<script>
$(document).ready(function(){
    var windowWidth = $(window).width();

    $('.page-container ,.text').mousemove(function(event){
        var moveX = (($(window).width() / 2) - event.pageX) * 0.1;
        var moveY = (($(window).height() / 2) - event.pageY) * 0.1;
        $('.page-back').css('margin-left',moveX + 'px');
        $('.page-back').css('margin-top',moveY + 'px');
    });

});

</script>

<div class="page-container">
  <div class="page-back">
   
</div>
</div>

<div class="text">
  <p> Mouse move paralax</p>
    </div>

[/html]

0

48

[html]
<style>
.canvas-area{
  box-shadow:0 0 10px -2px #999;
  border-radius:5px;
  width:100%;
  height:300px;
  background:cover; background:url(https://i.pinimg.com/originals/6d/ad/78 … 65c970.png);
  overflow:hidden;
  position:relative;
}

#stars-font,#stars-under{
  margin-left:-500px;
  overflow:hidden;
}

</style>
<script>

(function(){
//Canvas initialization
function init() {
starsFont = document.getElementById("stars-font");
ctx = starsFont.getContext("2d");

starsUnder = document.getElementById("stars-under");
ctx2 = starsUnder.getContext("2d");
 
drawAll();
}

//Rendering of canvas
/***************/
function drawAll() {
draw1();
draw2();
}

function draw1(){
ctx.clearRect(0, 0, 5000,300);
for(var i=0;i<5000;i++){
ctx.beginPath();
ctx.arc(Math.random()*5000,10+Math.random()*1000,3*Math.random()*1,0,Math.PI*2,true);
ctx.closePath()
ctx.shadowBlur = 10;
ctx.shadowColor = 'gray';
ctx.fillStyle = '#c6c6f5';
ctx.fill();
}
}

function draw2(){
ctx2.clearRect(0, 0, 5000,300);
for(var i=0;i<700;i++){
ctx2.beginPath();
ctx2.arc(Math.random()*5000,10+Math.random()*1000,3*Math.random()*2,0,Math.PI*2,true);
ctx2.closePath()
ctx2.shadowBlur = 10;
ctx2.shadowColor = 'white';
ctx2.fillStyle = '#c6c6f5';
ctx2.fill();
}
}
init();
/******************/

//Mouse event listener
    var currentPositionX_;
    $('body').mousemove(function(e){
    setTimeout(function(){return currentPositionX_=e.pageX;},1);
    var currentPositionX=e.pageX;
    if(currentPositionX_>currentPositionX){
    $('#stars-font').css("margin-left","+="+3+"px 0");
      $('#stars-under').css("margin-left","+="+2+"px 0");
    $('.canvas-area').css("background-position","+="+1+"px 0");
    }else{
    $('#stars-font').css("margin-left","+="+-3+"px 0");
      $('#stars-under').css("margin-left","+="+-2+"px 0");
    $('.canvas-area').css("background-position","+="+-1+"px 0");
    }   
    });
})();

</script>

<div class="canvas-area">
  <canvas id="stars-font" width="5000" height="600px" style="z-index:2;position:absolute;" ></canvas>
  <canvas id="stars-under" width="5000" height="600px" style="z-index:1;position:absolute;"></canvas>
</div>

[/html]

0

49

[html]
<style>

.tabs {
  display: block;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 800px;
}

.tabs * {
  transition: all 350ms cubic-bezier(.7, .5, .3, 1);
}

.tabs li {
  border-right: 1px solid #FFF;
  counter-increment: tab;
  display: inline;
  perspective: 350px;
  float: left;
  height: 90px;
  opacity: 0;
  overflow: hidden;
  padding-top: 100px;
  position: relative;
  transform-origin: 50% 0;
  transform: translateY(400px);
  transition: all 600ms cubic-bezier(.3, .7, .1, 1);
  width: 33%;
  vertical-align: top;
}

/* Initial transition */
.tabs li:nth-child(2) {
  transition-delay: 150ms;
}

.tabs li:nth-child(3) {
  transition-delay: 300ms;
}

.ready .tabs li {
  opacity: 1;
  transform: translateY(0);
}

.tabs li .fold {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Tab heading */
.tabs li h3 {
  backface-visibility: hidden;
  background: #444;
  color: #FFF;
  font-size: 13px;
  line-height: 50px;
  margin: 0;
  height: 50px;
  text-transform: uppercase;
}

.tabs li h3:before {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-origin: content-box;
  background-size: contain;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 100%;
  color: rgba(255, 255, 255, .6);
  content: counter(tab);
  display: block;
  float: left;
  font-size: 12px;
  font-weight: 400;
  height: 24px;
  line-height: 25px;
  margin: 10px 10px 0 10px;
  text-align: center;
  width: 24px;
}

/* Revealed copy */
li .fold p {
  backface-visibility: hidden;
  background: #222;
  color: #222;
  font-size: 12px;
  line-height: 140%;
  height: 55px;
  margin: -1px 0 0;
  padding: 5px 15px 15px;
  transform: rotateX(-60deg);
  transform-origin: 50% 0;
}

/* Call to action */
.tabs li .more {
  backface-visibility: hidden;
  background: #EAEAEA;
  bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  box-shadow: inset 0 4px 2px -3px rgba(0, 0, 0, .3);
  color: #3A3F41;
  font-size: 11px;
  font-weight: bold;
  height: 40px;
  left: 0;
  line-height: 43px;
  text-decoration: none;
  text-transform: uppercase;
  position: absolute;
  padding: 0 15px;
  width: 100%;
}

.tabs li:before,
.tabs li:after {
  background: #444;
  backface-visibility: hidden;
  content: '';
  display: block;
  width: 2px;
  height: 6px;
  position: absolute;
  transform-origin: 50% 50%;
  z-index: 2;
}

.tabs li:before {
  bottom: 19px;
  right: 20px;
  transform: rotate(-45deg);
}

.tabs li:after {
  bottom: 15px;
  right: 20px;
  transform: rotate(45deg);
}

/* Tab hover */
.tabs li:hover .fold {
  transform: translateY(-75px);
}

.tabs li:hover h3 {
  background: #222;
}

.tabs li:hover .more {
  color: #111;
}

li:hover .fold p {
  transform: rotateX(0deg);
  background: #222;
  color: #BBB;
  outline: 1px solid transparent;
}

li:hover:before,
li:hover:after {
  background: #111;
}

@media only screen and (max-width:800px) {
  .tabs {
    width: 600px;
  }
 
  .tabs li {
    width: 49%;
  }
 
  .tabs li:nth-child(3) {
    display: none;
  }
}

</style>
<script>

jQuery(function() {
  setTimeout(function(){
    $('body').addClass('ready');
  }, 10);
});

</script>

<ul class="tabs">
  <li>
    <div class="fold">
      <h3>Introduction</h3>
      <p>In aliquam nisi nec mauris ultricies eleifend. Vivamus sit amet vulputate tellus. Cras eu purus ac diam.</p>
    </div>
    <a href="#" class="more">More</a>
  </li>
  <li>
    <div class="fold">
      <h3>Another Section</h3>
      <p>Mauris vehicula placerat erat, vitae condimentum magna volutpat ac. Cras tortor lorem, rhoncus at tortor id.</p>
    </div>
    <a href="#" class="more">More</a>
  </li>
</ul>
[/html]

0

50

[html]
<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

table {
  text-align: left;
  line-height: 40px;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #ed1c40;
  width: 500px;
  margin: 50px auto;
  border-radius: .25rem;
}

thead tr:first-child {
  background: #ed1c40;
  color: #fff;
  border: none;
}

th:first-child,
td:first-child {
  padding: 0 15px 0 20px;
}

th {
  font-weight: 500;
}

thead tr:last-child th {
  border-bottom: 3px solid #ddd;
}

tbody tr:hover {
  background-color: #f2f2f2;
  cursor: default;
}

tbody tr:last-child td {
  border: none;
}

tbody td {
  border-bottom: 1px solid #ddd;
}

td:last-child {
  text-align: right;
  padding-right: 10px;
}

.button {
  color: #aaa;
  cursor: pointer;
  vertical-align: middle;
  margin-top: -4px;
}

.edit:hover {
  color: #0a79df;
}

.delete:hover {
  color: #dc2a2a;
}
</style>
<script>

</script>
<table>
  <thead>
    <tr>
      <th colspan="3">Atividades do projeto</th>
    </tr>
    <tr>
      <th>#</th>
      <th colspan="2">Atividade</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>1</td>
      <td>Atualizar página da equipe</td>
      <td>
        <i class="material-icons button edit">edit</i>
        <i class="material-icons button delete">delete</i>
      </td>
    </tr>
    <tr>
      <td>2</td>
      <td>Design da nova marca</td>
      <td>
        <i class="material-icons button edit">edit</i>
        <i class="material-icons button delete">delete</i>
      </td>
    </tr>
    <tr>
      <td>3</td>
      <td>Encontrar desenvolvedor front-end</td>
      <td>
        <i class="material-icons button edit">edit</i>
        <i class="material-icons button delete">delete</i>
      </td>
    </tr>
  </tbody>
</table>
[/html]

0

51

Код:
header {
    background-color:rgba(33, 33, 33, 0.9);
    color:#ffffff;
    display:block;
    font: 14px/1.3 Arial,sans-serif;
    height:50px;
    position:relative;
    z-index:5;
}
h2{
    margin-top: 30px;
    text-align: center;
}
header h2{
    font-size: 22px;
    margin: 0 auto;
    padding: 10px 0;
    width: 80%;
    text-align: center;
}
header a, a:visited {
    text-decoration:none;
    color:#fcfcfc;
}

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

@keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-webkit-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-moz-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-ms-keyframes move-clouds-back {
    from {background-position: 0;}
    to {background-position:10000px 0;}
}

.stars, .twinkling, .clouds {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.stars {
  background:#000 url(http://www.script-tutorials.com/demos/360/images/stars.png) repeat top center;
  z-index:0;
}

.twinkling{
  background:transparent url(http://www.script-tutorials.com/demos/360/images/twinkling.png) repeat top center;
  z-index:1;

  -moz-animation:move-twink-back 200s linear infinite;
  -ms-animation:move-twink-back 200s linear infinite;
  -o-animation:move-twink-back 200s linear infinite;
  -webkit-animation:move-twink-back 200s linear infinite;
  animation:move-twink-back 200s linear infinite;
}

.clouds{
    background:transparent url(http://www.script-tutorials.com/demos/360/images/clouds3.png) repeat top center;
    z-index:3;

  -moz-animation:move-clouds-back 200s linear infinite;
  -ms-animation:move-clouds-back 200s linear infinite;
  -o-animation:move-clouds-back 200s linear infinite;
  -webkit-animation:move-clouds-back 200s linear infinite;
  animation:move-clouds-back 200s linear infinite;
}

<div class="stars"></div>
<div class="twinkling"></div>
<div class="clouds"></div>

0

52

Код:
<style>
#space {
  position: absolute;
	top: -200px;
	left: -300px;
}
</style>
<script>
var canvas;
var context;
var screenH;
var screenW;
var stars = [];
var fps = 50;
var numStars = 2000;

$('document').ready(function() {
  
  // Calculate the screen size
	screenH = $(window).height();
	screenW = $(window).width();
	
	// Get the canvas
	canvas = $('#space');
	
	// Fill out the canvas
	canvas.attr('height', screenH);
	canvas.attr('width', screenW);
	context = canvas[0].getContext('2d');
	
	// Create all the stars
	for(var i = 0; i < numStars; i++) {
    var x = Math.round(Math.random() * screenW);
    var y = Math.round(Math.random() * screenH);
    var length = 2 + Math.random() * 2;
    var opacity = Math.random();
    
    // Create a new star and draw
    var star = new Star(x, y, length, opacity);
    
    // Add the the stars array
    stars.push(star);
	}
	
	setInterval(animate, 1000 / fps);
});

/**
 * Animate the canvas
 */
function animate() {
	context.clearRect(0, 0, screenW, screenH);
	$.each(stars, function() {
    this.draw(context);
	})
}

/**
 * Star
 * 
 * @param int x
 * @param int y
 * @param int length
 * @param opacity
 */
function Star(x, y, length, opacity) {
	this.x = parseInt(x);
	this.y = parseInt(y);
	this.length = parseInt(length);
	this.opacity = opacity;
	this.factor = 1;
	this.increment = Math.random() * .03;
}

/**
 * Draw a star
 * 
 * This function draws a start.
 * You need to give the contaxt as a parameter 
 * 
 * @param context
 */
Star.prototype.draw = function() {
	context.rotate((Math.PI * 5 / 10));
	
	// Save the context
	context.save();
	
	// move into the middle of the canvas, just to make room
	context.translate(this.x, this.y);
	
	// Change the opacity
	if(this.opacity > 1) {
    this.factor = -1;
	}
	else if(this.opacity <= 0) {
    this.factor = 1;
    
    this.x = Math.round(Math.random() * screenW);
    this.y = Math.round(Math.random() * screenH);
	}
    
	this.opacity += this.increment * this.factor;
	
	context.beginPath()
	for (var i = 5; i--;) {
    context.lineTo(0, this.length);
    context.translate(0, this.length);
    context.rotate((Math.PI * 2 / 10));
    context.lineTo(0, - this.length);
    context.translate(0, - this.length);
    context.rotate(-(Math.PI * 6 / 10));
	}
	context.lineTo(0, this.length);
	context.closePath();
	context.fillStyle = "rgba(255, 255, 200, " + this.opacity + ")";
	context.shadowBlur = 5;
	context.shadowColor = '#ffff';
	context.fill();
	
	context.restore();
}
</script>
<canvas id="space"></canvas>

0

53

[html]
<style>

    .square-flip{
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;

    -webkit-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    -ms-transform: perspectiv    .square-flip{
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;

    -webkit-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    -ms-transform: perspective(1000px);
    transform: perspective(1000px);

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;

    /*border:1px solid #efefef;*/
   
    position:relative;
    float:left;
    margin:20px;

    }
    .square-flip{
    width:400px;
    height:400px;
    }
    .square,.square2{
    width:100%;
    height:100%;
    }
    .square{

    background-size: cover;
    background-position:center center;

    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    overflow: hidden;

    position:absolute;
    top:0;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    }
    .square-flip .square{
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    z-index:1;
    }
    .square-flip:hover .square{
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
    }

    .square2{

    background-size: cover;
    background-position:center center;

    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    overflow: hidden;

    position:absolute;
    top:0;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    }
    .square-flip .square2{
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
    transform-style: preserve-3d;
    z-index:1;
    }
    .square-flip:hover .square2{
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    }

    /*Square content*/
    .square-container{
    padding:40px;
    text-align:center;
    position:relative;
    top:50%;

    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);

   
    -webkit-transform: translateY(-50%) translateX(0px)  scale(1);
    -ms-transform: translateY(-50%) translateX(0px)  scale(1);
transform: translateY(-50%) translateX(0px)  scale(1);
    transform-style: preserve-3d;
    z-index:2;
    }
    .square-flip:hover .square-container{
   
    -webkit-transform: translateY(-50%) translateX(-650px)  scale(.88);
    -ms-transform: translateY(-50%) translateX(-650px)  scale(.88);
      transform: translateY(-50%) translateX(-650px)  scale(.88);
    transform-style: preserve-3d;

    }

    .square-container2{
    padding:40px;
    text-align:center;
    position:relative;
    top:50%;

    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);

   
    -webkit-transform: translateY(-50%) translateX(650px) translateZ(60px) scale(.88);
    -ms-transform: translateY(-50%) translateX(650px) translateZ(60px) scale(.88);
      transform: translateY(-50%) translateX(650px) translateZ(60px) scale(.88);

    transform-style: preserve-3d;
    z-index:2;
    }
    .square-flip:hover .square-container2{
   
    -webkit-transform: translateY(-50%) translateX(0px) translateZ(0px) scale(1);
    -ms-transform: translateY(-50%) translateX(0px) translateZ(0px) scale(1);
    transform: translateY(-50%) translateX(0px) translateZ(0px) scale(1);
      transform-style: preserve-3d;
    }

    /*Style text*/
    .square-flip h2{
    color:white;
    font-family: "Open Sans";
    font-weight:700;
    font-size:22px;
    }
    .square-flip h3{
    color:white;
    font-family: "Open Sans";
    font-weight:500;
    font-size:16px;
    line-height:26px;
    }
    /*Elements*/
    .flip-overlay{
    display:block;
    background:rgba(0,0,0,0.5);
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    }
    .align-center{
    margin:0 auto;
    }
    .kallyas-button{
    display:block;
    width:160px;
    padding:18px 30px;
    font-family:"Open Sans";
    font-weight:600;
    color:#fff;
    background:#FF2024;
    margin:0 auto;
    border-radius:2px;
    text-decoration:none;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/# … ff2024+100 */
    background: #ffa067; /* Old browsers */
    background: -moz-linear-gradient(-45deg,  #ffa067 0%, #ff2959 49%, #ff2024 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  #ffa067 0%,#ff2959 49%,#ff2024 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  #ffa067 0%,#ff2959 49%,#ff2024 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa067', endColorstr='#ff2024',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    }

    /*ADD SHADOWS OPTIONAL*/
    .square-flip .square .boxshadow, .square-flip .square .textshadow, .square-flip .square2 .boxshadow, .square-flip .square2 .textshadow{
    -ms-transition: 0.60s;
        transition: 0.60s;
        -webkit-transition: 0.60s;
    }

    .square-flip .square .boxshadow{
    -webkit-box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    -moz-box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    }
    .square-flip .square .textshadow{
    -webkit-text-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    -moz-text-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    text-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    }
    .square-flip:hover .square .boxshadow, .square-flip:hover .square .textshadow{
    -webkit-box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    -moz-box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    }

    .square-flip .square2 .boxshadow{
    -webkit-box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    -moz-box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    }
    .square-flip .square2 .textshadow{
    -webkit-text-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    -moz-text-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    text-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    }
    .square-flip:hover .square2 .boxshadow, .square-flip:hover .square2 .textshadow{
    -webkit-box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    -moz-box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    }

   
    /*You can delete this style*/
    .centerflipcards{
      display:block;
    width:1330px;
      height:440px;
    text-align:center;
    margin:0 auto;
    margin-top:25px;
    }
.clearfix{clear:both;}
.centerflipcards p{
      font-family:"Open Sans";
      font-size:13px;
      margin-top:10px;
      font-weight:700;
}e(1000px);
    transform: perspective(1000px);

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;

    /*border:1px solid #efefef;*/
   
    position:relative;
    float:left;
    margin:20px;

    }
    .square-flip{
    width:400px;
    height:400px;
    }
    .square,.square2{
    width:100%;
    height:100%;
    }
    .square{

    background-size: cover;
    background-position:center center;

    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    overflow: hidden;

    position:absolute;
    top:0;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    }
    .square-flip .square{
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    z-index:1;
    }
    .square-flip:hover .square{
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
    }

    .square2{

    background-size: cover;
    background-position:center center;

    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    overflow: hidden;

    position:absolute;
    top:0;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    }
    .square-flip .square2{
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
    transform-style: preserve-3d;
    z-index:1;
    }
    .square-flip:hover .square2{
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    }

    /*Square content*/
    .square-container{
    padding:40px;
    text-align:center;
    position:relative;
    top:50%;

    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);

   
    -webkit-transform: translateY(-50%) translateX(0px)  scale(1);
    -ms-transform: translateY(-50%) translateX(0px)  scale(1);
transform: translateY(-50%) translateX(0px)  scale(1);
    transform-style: preserve-3d;
    z-index:2;
    }
    .square-flip:hover .square-container{
   
    -webkit-transform: translateY(-50%) translateX(-650px)  scale(.88);
    -ms-transform: translateY(-50%) translateX(-650px)  scale(.88);
      transform: translateY(-50%) translateX(-650px)  scale(.88);
    transform-style: preserve-3d;

    }

    .square-container2{
    padding:40px;
    text-align:center;
    position:relative;
    top:50%;

    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
        -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);

   
    -webkit-transform: translateY(-50%) translateX(650px) translateZ(60px) scale(.88);
    -ms-transform: translateY(-50%) translateX(650px) translateZ(60px) scale(.88);
      transform: translateY(-50%) translateX(650px) translateZ(60px) scale(.88);

    transform-style: preserve-3d;
    z-index:2;
    }
    .square-flip:hover .square-container2{
   
    -webkit-transform: translateY(-50%) translateX(0px) translateZ(0px) scale(1);
    -ms-transform: translateY(-50%) translateX(0px) translateZ(0px) scale(1);
    transform: translateY(-50%) translateX(0px) translateZ(0px) scale(1);
      transform-style: preserve-3d;
    }

    /*Style text*/
    .square-flip h2{
    color:white;
    font-family: "Open Sans";
    font-weight:700;
    font-size:22px;
    }
    .square-flip h3{
    color:white;
    font-family: "Open Sans";
    font-weight:500;
    font-size:16px;
    line-height:26px;
    }
    /*Elements*/
    .flip-overlay{
    display:block;
    background:rgba(0,0,0,0.5);
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    }
    .align-center{
    margin:0 auto;
    }
    .kallyas-button{
    display:block;
    width:160px;
    padding:18px 30px;
    font-family:"Open Sans";
    font-weight:600;
    color:#fff;
    background:#FF2024;
    margin:0 auto;
    border-radius:2px;
    text-decoration:none;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/# … ff2024+100 */
    background: #ffa067; /* Old browsers */
    background: -moz-linear-gradient(-45deg,  #ffa067 0%, #ff2959 49%, #ff2024 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  #ffa067 0%,#ff2959 49%,#ff2024 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  #ffa067 0%,#ff2959 49%,#ff2024 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa067', endColorstr='#ff2024',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    }

    /*ADD SHADOWS OPTIONAL*/
    .square-flip .square .boxshadow, .square-flip .square .textshadow, .square-flip .square2 .boxshadow, .square-flip .square2 .textshadow{
    -ms-transition: 0.60s;
        transition: 0.60s;
        -webkit-transition: 0.60s;
    }

    .square-flip .square .boxshadow{
    -webkit-box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    -moz-box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    }
    .square-flip .square .textshadow{
    -webkit-text-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    -moz-text-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    text-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    }
    .square-flip:hover .square .boxshadow, .square-flip:hover .square .textshadow{
    -webkit-box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    -moz-box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    }

    .square-flip .square2 .boxshadow{
    -webkit-box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    -moz-box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    box-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    }
    .square-flip .square2 .textshadow{
    -webkit-text-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    -moz-text-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    text-shadow: 240px 42px 58px -8px rgba(0,0,0,0.0);
    }
    .square-flip:hover .square2 .boxshadow, .square-flip:hover .square2 .textshadow{
    -webkit-box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    -moz-box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    box-shadow: 24px 42px 58px -8px rgba(0,0,0,0.3);
    }

   
    /*You can delete this style*/
    .centerflipcards{
      display:block;
    width:1330px;
      height:440px;
    text-align:center;
    margin:0 auto;
    margin-top:25px;
    }
.clearfix{clear:both;}
.centerflipcards p{
      font-family:"Open Sans";
      font-size:13px;
      margin-top:10px;
      font-weight:700;
}
</style>
<script>

jQuery(document).ready(function($) {

  //Count nr. of square classes
  var countSquare = $('.square').length;

  //For each Square found add BG image
  for (i = 0; i < countSquare; i++) {
    var firstImage = $('.square').eq([i]);
    var secondImage = $('.square2').eq([i]);

    var getImage = firstImage.attr('data-image');
    var getImage2 = secondImage.attr('data-image');

    firstImage.css('background-image', 'url(' + getImage + ')');
    secondImage.css('background-image', 'url(' + getImage2 + ')');
  }

});

</script>

<div class="centerflipcards">
<div class="square-flip">
    <div class='square' data-image="https://images.unsplash.com/photo-1477313372947-d68a7d410e9f?dpr=1&auto=format&crop=entropy&fit=crop&w=1500&h=1000&q=80&cs=tinysrgb">
    <div class="square-container">
        <div class="align-center"><img src="http://titanicthemes.com/files/flipbox/kallyas2.png" class="boxshadow" alt=""></div>
        <h2 class="textshadow">Kallyas Wp Theme</h2>
        <h3 class="textshadow">The #1 Selling Most Enjoyable and Creative Multipurpose WordPress theme.</h3>
    </div>
    <div class="flip-overlay"></div>
    </div>
    <div class='square2' data-image="https://images.unsplash.com/photo-1477313372947-d68a7d410e9f?dpr=1&auto=format&crop=entropy&fit=crop&w=1500&h=1000&q=80&cs=tinysrgb">
    <div class="square-container2">
        <div class="align-center"></div>
        <h2>#1 Front-end Visual Website Builder in 2016</h2>
    </div>
    <div class="flip-overlay"></div>
    </div>
</div>

<div class="square-flip">
    <div class='square' data-image="http://titanicthemes.com/files/flipbox/kallyas-bundle.png">
    <div class="square-container">
        <div class="align-center"><img src="http://titanicthemes.com/files/flipbox/kallyas.png" class="boxshadow" alt=""></div>
        <h2 class="textshadow">Kallyas WordPress Theme</h2>
        <h3 class="textshadow">The #1 Selling Most Enjoyable and Creative Multipurpose WordPress theme.</h3>
    </div>
    <div class="flip-overlay"></div>
    </div>
    <div class='square2' data-image="http://titanicthemes.com/files/flipbox/kallyas-bundle.png">
    <div class="square-container2">
        <div class="align-center"></div>
        <a href="http://kallyas.net" target="_blank" class="boxshadow kallyas-button">View Demos</a>
    </div>
    <div class="flip-overlay"></div>
    </div>
</div>

<div class="square-flip">
    <div class='square' data-image="https://instagram.fotp3-2.fna.fbcdn.net/t51.2885-15/e35/14712096_386502691740262_2357154798815412224_n.jpg?ig_cache_key=MTM2NzU2MzUwNjQ3OTUzOTgxNQ%3D%3D.2">
    <div class="square-container">
        <div class="align-center"><img src="http://titanicthemes.com/files/flipbox/kallyas2.png" class="boxshadow" alt=""></div>
        <h2 class="textshadow">Kallyas WordPress Theme</h2>
        <h3 class="textshadow">The #1 Selling Most Enjoyable and Creative Multipurpose WordPress theme.</h3>
    </div>
    <div class="flip-overlay"></div>
    </div>
    <div class='square2' data-image="http://titanicthemes.com/files/flipbox/kallyas-wedding.jpg">
    <div class="square-container2">
        <div class="align-center"></div>
        <h2>The only theme you'll ever need. No codding skills needed.</h2>
    </div>
    <div class="flip-overlay"></div>
    </div>
</div>
 
  <div class="clearfix"></div>
  <p>Made with ♡ by Nicola Mihaita</p>
  <a href="http://hogash.com" target="_blank">@Hogash.com</a>
  <br/>
  <br/>
  <br/>
 
</div>

[/html]

0

54

[html]
<style>
.treat-button {
  font-family: 'Fascinate Inline', cursive;
  font-size: 4vmin;
  appearance: none;
  background: linear-gradient(to bottom, #F46001, #E14802);
  border: none;
  color: #FFF;
  border-radius: 2em;
  padding: .6em 1.5em;
  overflow: hidden;
  user-select: none;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 0 1em rgba(white, .2);
  transition: transform .1s cubic-bezier(.5, 0, .5, 1),
    box-shadow .2s;
 
  &:hover {
    box-shadow: 0 0 2em rgba(white, .3);
  }

  outline: none;

  &:active {
    transform: scale(0.8) translateY(10%);
    transition-timing-function: cubic-bezier(.5, 0, .5, 1);
  }
}

.treat {
  --scale-x: 0;
  --scale-y: 0;
  pointer-events: none;
  display: block;
  position: absolute;
  top: 0;
  left: calc(50% - .5rem);
  border-radius: 50%;
  width: 1em;
  height: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 5vmin;
  transform:
    translate(
      calc( var(--x) * 1px ),
      calc( var(--y) * 1px )
    )
    translate(-50%, -50%);
  pointer-events: none;
  animation:
    treat-enter .1s ease-in backwards,
    treat-exit 300ms linear
    calc( (var(--lifetime, 3000) * 1ms) - 300ms)
    forwards;

  @keyframes treat-enter {
    from {
      opacity: 0;
    }
  }
  @keyframes treat-exit {
    to {
      opacity: 0;
    }
  }
 
  .inner {
    animation: inner-rotate .6s linear infinite;
    transform: rotate(
      calc(-1turn * var(--direction) )
    );
    @keyframes inner-rotate {
      to {
        transform: none;
      }
    }
  }
}
</style>
<script>

console.clear();

let width = window.innerWidth;
let height = window.innerHeight;
const body = document.body;

const elButton = document.querySelector(".treat-button");
const elWrapper = document.querySelector(".treat-wrapper");

function getRandomArbitrary(min, max) {
  return Math.random() * (max - min) + min;
}

function getRandomInt(min, max) {
  return Math.floor(Math.random() * (max - min + 1)) + min;
}

const treatmojis = ["🍬", "🍫", "🍭", "🍡", "🍩", "🍪", "🍒"];
const treats = [];
const radius = 15;

const Cd = 0.47; // Dimensionless
const rho = 1.22; // kg / m^3
const A = Math.PI * radius * radius / 10000; // m^2
const ag = 9.81; // m / s^2
const frameRate = 1 / 60;

function createTreat() /* create a treat */ {
  const vx = getRandomArbitrary(-10, 10); // x velocity
  const vy = getRandomArbitrary(-10, 1);  // y velocity
 
  const el = document.createElement("div");
  el.className = "treat";

  const inner = document.createElement("span");
  inner.className = "inner";
  inner.innerText = treatmojis[getRandomInt(0, treatmojis.length - 1)];
  el.appendChild(inner);
 
  elWrapper.appendChild(el);

  const rect = el.getBoundingClientRect();

  const lifetime = getRandomArbitrary(2000, 3000);

  el.style.setProperty("--lifetime", lifetime);

  const treat = {
    el,
    absolutePosition: { x: rect.left, y: rect.top },
    position: { x: rect.left, y: rect.top },
    velocity: { x: vx, y: vy },
    mass: 0.1, //kg
    radius: el.offsetWidth, // 1px = 1cm
    restitution: -.7,
   
    lifetime,
    direction: vx > 0 ? 1 : -1,

    animating: true,

    remove() {
      this.animating = false;
      this.el.parentNode.removeChild(this.el);
    },

    animate() {
      const treat = this;
      let Fx =
        -0.5 *
        Cd *
        A *
        rho *
        treat.velocity.x *
        treat.velocity.x *
        treat.velocity.x /
        Math.abs(treat.velocity.x);
      let Fy =
        -0.5 *
        Cd *
        A *
        rho *
        treat.velocity.y *
        treat.velocity.y *
        treat.velocity.y /
        Math.abs(treat.velocity.y);

      Fx = isNaN(Fx) ? 0 : Fx;
      Fy = isNaN(Fy) ? 0 : Fy;

      // Calculate acceleration ( F = ma )
      var ax = Fx / treat.mass;
      var ay = ag + Fy / treat.mass;
      // Integrate to get velocity
      treat.velocity.x += ax * frameRate;
      treat.velocity.y += ay * frameRate;

      // Integrate to get position
      treat.position.x += treat.velocity.x * frameRate * 100;
      treat.position.y += treat.velocity.y * frameRate * 100;
     
      treat.checkBounds();
      treat.update();
    },
   
    checkBounds() {

      if (treat.position.y > height - treat.radius) {
        treat.velocity.y *= treat.restitution;
        treat.position.y = height - treat.radius;
      }
      if (treat.position.x > width - treat.radius) {
        treat.velocity.x *= treat.restitution;
        treat.position.x = width - treat.radius;
        treat.direction = -1;
      }
      if (treat.position.x < treat.radius) {
        treat.velocity.x *= treat.restitution;
        treat.position.x = treat.radius;
        treat.direction = 1;
      }

    },

    update() {
      const relX = this.position.x - this.absolutePosition.x;
      const relY = this.position.y - this.absolutePosition.y;

      this.el.style.setProperty("--x", relX);
      this.el.style.setProperty("--y", relY);
      this.el.style.setProperty("--direction", this.direction);
    }
  };

  setTimeout(() => {
    treat.remove();
  }, lifetime);

  return treat;
}

function animationLoop() {
  var i = treats.length;
  while (i--) {
    treats[i].animate();

    if (!treats[i].animating) {
      treats.splice(i, 1);
    }
  }

  requestAnimationFrame(animationLoop);
}

animationLoop();

function addTreats() {
  //cancelAnimationFrame(frame);
  if (treats.length > 40) {
    return;
  }
  for (let i = 0; i < 10; i++) {
    treats.push(createTreat());
  }
}

elButton.addEventListener("click", addTreats);
elButton.click();

window.addEventListener("resize", () => {
  width = window.innerWidth;
  height = window.innerHeight;
});

</script>
<container style="width: 500px;height: 200px;display: block;">
<div class="treat-wrapper">
  <button class="treat-button">Treats!</button>
</div>

<a href="https://youtu.be/8HJU-rQerQ8" target="_blank" data-keyframers-credit style="color: #FFF"></a>
<script src="https://codepen.io/shshaw/pen/QmZYMG.js"></script>
</container>

[/html]

0

55

[hideprofile][html]
<style>

.punbb {
    margin-left: 0px !important; }
/* Utils */

h1,h2,h3, h4 {
font-family: 'Lato', Helvetica, sans-serif;
font-weight: 300;
color: #48DA9B;
}
h1 {
    font-size: 48px;
    font-weight: 300;
    margin: 20px 0;
}
h2 {
    font-size: 28px;
    margin: 32px 0 24px;
}
h3 {
    font-size: 24px;
}
h4 {
    font-size: 18px;
    font-weight: 400;
}

.clear {
clear: both;
}
.purple {
color: #837c9a;
}

.block {
margin: 25px 30px;
}
.block h1 {
    margin-left: -5px;
    font-weight: 200;
}

.last.block {
margin-bottom: 110px;
}

.horizontal_list {
margin: 0;
padding: 0;
list-style-type: none;
}
.horizontal_list li {
    float: left;
}
.horizontal_list li:before {
    content: none;
}
.horizontal_list li {
    padding-left: 0;
    text-indent: 0;
}

.horizontal_line{
margin: 34px 0 0 30px;
height: 26px;
position: relative;
}
.line_left,
.line_right{
    border-top: 1px solid #434247;
    width: 200px;
    margin-top: 13px;
}
.line_left{
    float: left;
}
.line_right {
    float: right;
}
.left_circle,
.central_circle,
.right_circle {
    background: rgb(69,68,73);
    background: rgba(255,255,255, 0.15);
    position: absolute;
    border-radius: 50px;
}
.left_circle,
.right_circle {
    width: 13px;
    height: 13px;
    top: 7px;
}
.left_circle{
    left: 204px;
}
.central_circle{
    width: 26px;
    height: 26px;   
    top: 0px;
    left: 220px;
}
.right_circle{
    left: 250px;
}

/* Main tags */

blockquote {
font-style: italic;
margin: 25px 0;
padding-left: 20px;
border-left: 2px solid #48DA9B;
}

blockquote, p , a, li {
font-family: 'Lato', Helvetica, sans-serif;
font-weight: 300;
font-size: 15px;
color: #e4e3e8;
}

a:focus {
    outline: none;
}

ul {
    list-style: none;
    padding:0;
    margin:0;
}
li {
    padding-left: 1em;
    text-indent: -.7em;
}
li:before {
    content: "• ";
    color: #837c9a;
    font-size: 20px;
    padding-right: 8px;
}

/* Containers size */

#main_container {
width: 100%;
background: #5e5b5b;
       padding: 30px;
}
#header {
    height: 130px;
    border-bottom: 1px solid #403F44;
}
    .header_logotype_container {
    width: 260px;
    height: 130px;
    border-right: 1px solid #403F44;
    float: left;
    }
    .header_menu_container {
    height: 130px;
    width: 699px;
    float: left;
    }
    .header_menu_container a {
        font-family: 'Lato', Helvetica, sans-serif;
    }
#left_col {
    width: 259px;
    float: left;
}
#content_container {
    width: 500px;
    border-left: 1px solid #403F44;
    float: left;
}
#footer {
    width: 960px;
    height: 60px;
    border-top: 1px solid #403F44;
    display: inline-block;
}

/* HEADER */

   
.header_menu {
width: 699px;
margin-top: 40px;
margin-left: 5px;
}
.header_menu a{
    text-decoration: none;
    padding: 0 20px;
    border-left: 1px solid #e4e3e8;
    font-size: 16px;
    font-weight: 400;
}
.header_menu a.no_border{
    border-left: none;
}
    .header_menu a:hover {
    color: #837c9a;
    }
   
/* LEFT NAV */

#left_nav h2 {
margin: 0;
font-size: 24px;
}

.profile_frame{
width: 230px;
height: 260px;
background: black;
border: 1px solid #403F44;
margin-top: 30px;
}
.profile_picture{
    width: 210px;
    height: 240px;
    margin:10px;
    background: url(https://i.pinimg.com/564x/c4/42/b1/c442 … 142199.jpg) 100% /210px no-repeat;
}

.hello_content,
.contact_details_content {
margin-top: 25px;
}

.hello_content{
width: 230px;
}
.contact_details_content h2 + p.purple{
margin-top: 10px;
}
.contact_details_content p{
margin: 0;
}
.contact_details_content p.purple{
margin-top: 25px;
}

.send_message_button,
.special_button {
margin-top: 25px;
display: block;
background: #48DA9B;
width: 230px;
height: 50px;
position: relative;
z-index: 1;
}
.cut1:after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: -20px;
    width: 30px;
    height: 30px;
    z-index: 9;
    background: url(https://www.toptal.com/designers/subtle … k_wall.png) repeat;
    transform: rotate(45deg);
}
.cut2:before {
    content: "";
    position: absolute;
    top: -19px;
    right: -20px;
    width: 30px;
    height: 30px;
    z-index: 9;
    background: url(https://www.toptal.com/designers/subtle … k_wall.png) repeat;
      transform: rotate(45deg);
}
.content {
    text-align: center;   
    color: #04080b;
    width: 100%;
    height: 40px;
    position: absolute;
    z-index: 2;
    font: 18px 'Lato', Arial, sans-serif;
    margin: 0;
    padding: 16px 0 0;
        top: -4px;
        bottom: 10px;
    border-top: 1px solid #403F44;
    border-bottom: 1px solid #403F44;
}
.send_message_button:hover,
.special_button:hover {
    background: #29C782;
}

/* Profile Content */

.profile_quote {
position: relative;
/* margin-left: 5px; */
}
.profile_quote p {
    font-size: 17px;
    width: 455px;
}
.profile_quote  .entypo-quote {
    color: #3d3a41;
    font-size: 80px;
    font-style: normal;
    position: absolute;
    top: -20px;
    right: 70px;
    cursor: default;
}

.philosophy_content {
margin-top: 20px;
}
.philosophy_content p {
    margin: 0;
    width: 400px;
    float: left;
}
.philosophy_content ul {
    float: left;
    padding-left: 40px;
}
</style>
<script>

</script>

<!-- MAIN CONTAINER -->
    <div id="main_container">
      <!-- LEFT COL -->
      <div id="left_col">
        <div class="profile_frame">
          <div class="profile_picture"></div>
          <!-- <img src="https://i.pinimg.com/564x/c4/42/b1/c442b1968a0e6571fca9f515aa142199.jpg" alt="profile"> -->
        </div>
        <div class="hello_content">
<h2>Придумай себе имя</h2>          <p>Заявка не в пару</p><br><br><br>
          <h2>О заявителе</h2>
          <p>Я горячий испанский юноша, потерявшийся в слишком холодных австрийских лесах и мне нужно что-то разогнать кровь.</p>
        </div>
        <div class="contact_details_content">
          <h2>Контакты</h2>
        </div>
        <a href="https://telegram.im/@Hattivatit" class="send_message_button">
          <span class="cut1"></span>
          <span class="cut2"></span>
          <span class="content">Телеграммируте <span class="fontawesome-double-angle-right"></span></span>
        </a>
      </div>
      <!-- PROFILE CONTENT -->
      <div id="content_container">       
        <div class="block">
          <h1>крутая цитата</h1>
          <blockquote class="profile_quote">
            <p>"— А где я могу найти кого-нибудь нормального?<br>
— Нигде, — ответил Кот, — нормальных не бывает. Ведь все такие разные и непохожие. И это, по-моему, нормально."</p>
            <p>Чеширский кот</p>
            <span class="entypo-quote"></span>
          </blockquote>
        </div>
        <div class="block">
          <h2>Пару слов об акции</h2>
          <p>Я жду резкого, дерзкого, агрессивного и ПАССИВНОГО хД Момент когда я показываю что мое чувство юмора очень пошлое. Нет, это не то слово. Я жду ученика, свою Клариссу Стралинг, которого я могу успешно ломать, направлять, указывать. Я много чего знаю и жажду передать свои знания. Я расскажу как можно убить, пытать, загнать, отследить. Как отомстить всем, кто тебя обижал. Я расскажу про Кодекс, научу жить в этом мире, направлю руку, если ты захочешь выпустить пар. Я найду способ растворить трупы, закопать кости, убрать свидетелей. </p>       
        </div>
        <div class="horizontal_line">
          <div class="line_left"></div>
          <div class="left_circle"></div>
          <div class="central_circle"></div>
          <div class="right_circle"></div>
          <div class="line_right"></div>
        </div>
        <div class="block">
          <h2>Философия</h2>
          <p>Я верю в психопатов. </p>
          <div class="philosophy_content">
            <p>Уже давно появилась у меня идея завести на территории школы занятного психопата в лучших традициях хоррор-фильмов. Несчастный человек, который не верит, что у других людей есть чувства, привыкший заботиться о себе, способный на убийство. Человек, который может разнообразить тихую жизнь школы даже если о тишине уже давно забыли. Немного пошумим.<br>
Мои предложения:</p>
            <ul>
              <li>Верь в меня, я научу тебя убивать</li>
              <li>Подчиняйся мне, я не люблю самоуправство</li>
              <li>Я защищу тебя</li>
              <li>Будь готов к деталям</li>
              <li>Декстер?</li><br><br>
            </ul>

            <p>Возможно, это временная акция и можно потом трагично уйти, но это по желанию. Отношения и мотивацию запрашивать лично.</p>
            <div class="clear"></div>
          </div>
        </div>
        <div class="horizontal_line">
          <div class="line_left"></div>
          <div class="left_circle"></div>
          <div class="central_circle"></div>
          <div class="right_circle"></div>
          <div class="line_right"></div>
        </div></div>
      <div class="clear"></div>
    </div>

[/html]

0

56

[hideprofile][html]
<style>
.punbb {
    margin-left: 0px !important; }
.clipped {
  display:flex;
  align-items:flex-end;
  height:100%;
  line-height:1.2;
  overflow:hidden;
  background: url("https://i.pinimg.com/564x/44/55/25/445525f88c146fb71ec496396eda7cb8.jpg") no-repeat #fff;
  background-size: cover;
  color: rgba(255,255,255,0.3);
  font-size: 10em;
  font-family: 'Playfair Display', serif;
  /*-webkit-text-fill-color:transparent;
  -webkit-background-clip: text;
  -webkit-filter: invert(100%) hue-rotate(0deg);
 
  change hue-rotate to play with tint */
}
#title{
  overflow:hidden;
  color:#fff;
  mix-blend-mode:difference;
  padding:0px calc(15% - 20px);
}

.header {
  height: 250px;
  width: 100% - 10px;
  overflow: hidden;
  background: url("https://i.pinimg.com/564x/52/6b/e0/526be09a1233cc0f32fd28431566db3b.jpg") no-repeat #fff;
  background-size: cover;
  margin:20px 20px 0 20px;
  border-radius:8px;
  box-shadow:2px 3px 20px 0 rgba(0,0,0,0.3);
}
.container {
  display: block;
  width: 100%;
  float: left;
  max-width:800px;
}

content{
  display:block;
  padding:30px;
  color:#000;
  opacity:.8;
  padding:30px 15%;
}
h21{
  font-size: 1.1em;
  font-family: 'Raleway', sans-serif;
  font-weight:800;
  letter-spacing:0.5pt;
}
hr{
  margin:10px 0 10px 0;
  width:30px;
  height:6px;
  background-color:#2980b9;
  border:0;
  text-align:left;
}
p{
  font-size: .9em;
  font-family: 'Raleway', sans-serif;
  font-weight:300;
  overflow:hidden;
}
</style>

<div class="container">
  <div class="header">
    <div class="clipped">
      <h1 id="title">Заголовок</h1>
    </div>
  </div>
  <content>
    <h21>This is a subtitle</h21>
    <hr>
    <p>Since a previous update of Google Chrome, this effect is not working anymore like before. I used 'text-fill-color' together with 'background-clip'. Now I changed it to 'mix-blend-mode'. This is alot easier in my opinion. You can still find the "old" version commented out in the CSS.</p>
  </content>
</div>

</div>

[/html]

0

57

[hideprofile][html]
<style>
canvas {
  background:
    linear-gradient(
      hsl(200, 50%, 80%) 0%,
      hsl(200, 30%, 95%) 75%)
  ;
  display: block;
}

div {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  background: url(https://jackrugile.com/images/misc/skyline-texture.png);
}
</style>
<script>
sketch = Sketch.create()
sketch.mouse.x = sketch.width / 10
sketch.mouse.y = sketch.height
skylines = []
dt = 1

#
# BUILDINGS
#
 
Building = ( config ) ->
  this.reset( config )

Building.prototype.reset = (config) ->
  this.layer = config.layer
  this.x = config.x
  this.y = config.y
  this.width = config.width
  this.height = config.height
  this.color = config.color 
  this.slantedTop = floor( random( 0, 10 ) ) == 0
  this.slantedTopHeight = this.width / random( 2, 4 )
  this.slantedTopDirection = round( random( 0, 1 ) ) == 0
  this.spireTop = floor( random( 0, 15 ) ) == 0
  this.spireTopWidth = random( this.width * .01, this.width * .07 )
  this.spireTopHeight = random( 10, 20 )
  this.antennaTop = !this.spireTop && floor( random( 0, 10 ) ) == 0
  this.antennaTopWidth = this.layer / 2
  this.antennaTopHeight = random(5, 20)
   
Building.prototype.render = ->
  sketch.fillStyle = sketch.strokeStyle = this.color
  sketch.lineWidth = 2
 
  sketch.beginPath()
  sketch.rect( this.x, this.y, this.width, this.height )
  sketch.fill()
  sketch.stroke()
   
  if this.slantedTop
    sketch.beginPath()
    sketch.moveTo( this.x, this.y )
    sketch.lineTo( this.x + this.width, this.y )
    if this.slantedTopDirection
      sketch.lineTo( this.x + this.width, this.y - this.slantedTopHeight )
    else
      sketch.lineTo( this.x, this.y - this.slantedTopHeight )
    sketch.closePath()
    sketch.fill()
    sketch.stroke()
     
  if this.spireTop
    sketch.beginPath()
    sketch.moveTo( this.x + ( this.width / 2 ), this.y - this.spireTopHeight )
    sketch.lineTo( this.x + ( this.width / 2 ) + this.spireTopWidth, this.y )
    sketch.lineTo( this.x + ( this.width / 2 ) - this.spireTopWidth, this.y )
    sketch.closePath()
    sketch.fill()
    sketch.stroke()
   
  if this.antennaTop
    sketch.beginPath()
    sketch.moveTo( this.x + ( this.width / 2 ), this.y - this.antennaTopHeight )
    sketch.lineTo( this.x + ( this.width / 2 ), this.y )
    sketch.lineWidth = this.antennaTopWidth
    sketch.stroke()

#
# SKYLINES
#

Skyline = (config) ->
  this.x = 0
  this.buildings = []
  this.layer = config.layer
  this.width =
    min: config.width.min
    max: config.width.max
  this.height =
    min: config.height.min
    max: config.height.max
  this.speed = config.speed
  this.color = config.color
  this.populate()
  return this
 
Skyline.prototype.populate = ->
  totalWidth = 0
  while totalWidth <= sketch.width + ( this.width.max * 2 )
    newWidth = round ( random( this.width.min, this.width.max ) )
    newHeight = round ( random( this.height.min, this.height.max ) )
    this.buildings.push( new Building(
      layer: this.layer
      x: if this.buildings.length == 0 then 0 else ( this.buildings[ this.buildings.length - 1 ].x + this.buildings[ this.buildings.length - 1 ].width )
      y: sketch.height - newHeight
      width: newWidth
      height: newHeight
      color: this.color
    ) )
    totalWidth += newWidth

Skyline.prototype.update = ->
  this.x -= ( sketch.mouse.x * this.speed ) * dt
     
  firstBuilding = this.buildings[ 0 ]
  if firstBuilding.width + firstBuilding.x + this.x < 0
    newWidth = round ( random( this.width.min, this.width.max ) )
    newHeight = round ( random( this.height.min, this.height.max ) )
    lastBuilding = this.buildings[ this.buildings.length - 1 ]   
    firstBuilding.reset(
      layer: this.layer
      x: lastBuilding.x + lastBuilding.width
      y: sketch.height - newHeight
      width: newWidth
      height: newHeight
      color: this.color
    )   
    this.buildings.push( this.buildings.shift() )

Skyline.prototype.render = ->
  i = this.buildings.length
  sketch.save()
  sketch.translate( this.x, ( sketch.height - sketch.mouse.y ) / 20 * this.layer ) 
  this.buildings[ i ].render ( i ) while i--
  sketch.restore()

#
# SETUP
#
 
sketch.setup = ->   
  i = 5
  while i--
    skylines.push( new Skyline(
      layer: i + 1
      width:
        min: ( i + 1 ) * 30
        max: ( i + 1 ) * 40
      height:
        min: 150 - ( ( i ) * 35 )
        max: 300 - ( ( i ) * 35 )
      speed: ( i + 1 ) * .003
      color: 'hsl( 200, ' + ( ( ( i + 1 ) * 1 ) + 10 ) + '%, ' + ( 75 - ( i * 13 ) ) + '% )'
    ) )

#
# CLEAR
#
 
sketch.clear = ->
  sketch.clearRect( 0, 0, sketch.width, sketch.height )

#
# UPDATE
#
 
sketch.update = ->
  dt = if sketch.dt < .1 then .1 else sketch.dt / 16
  dt = if dt > 5 then 5 else dt
  i = skylines.length
  skylines[ i ].update( i ) while i--
 
#
# DRAW
#
 
sketch.draw = ->
  i = skylines.length
  skylines[ i ].render( i ) while i--

#
# Mousemove Fix

   
$( window ).on 'mousemove', (e) ->
  sketch.mouse.x = e.pageX
  sketch.mouse.y = e.pageY
</script>

<div></div>

[/html]

0

58

[hideprofile][html]
<style>
/*
* Animation module with all animation code
*/
.anim-text-flow,
.anim-text-flow-hover:hover {
  /*
   * Animation variables
   */
  $animationSteps: 20;
  $animationDuration: 50;
  $animationElement: span;
  $animationElementsCount: 100;
  $delayBetweenLetters: 0.2;

  /*
   * Elements settings
   */
  #{$animationElement} {
    animation-name: anim-text-flow-keys;
    animation-duration: #{$animationDuration}s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: forwards;
  }

  /*
   * Keyframe loop
   */
  @keyframes anim-text-flow-keys {
    @for $i from 0 through $animationSteps {
      #{percentage($i * (1 / $animationSteps))} {
        color: hsla(random(365), 60, 60, 1);
      }
    }
  }

  /*
   * Element animation delay loop
   */
  $totalDelayTime: $animationElementsCount * $delayBetweenLetters;

  @for $i from 1 through $animationElementsCount {
    #{$animationElement}:nth-of-type(#{$i}) {
      animation-delay: #{($i * $delayBetweenLetters) - $totalDelayTime}s;
    }
  }
}

////////////////////////////
// DEMO CODE
///////////////////////////
body {
  background-color: #1a1a1a;
  color: #fefefe;
  font-family: 'Ubuntu';
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.3em;
  line-height: 2;
  font-weight: 300;
  text-rendering: optimizeLegibility;
  text-align: center;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.txt {
  display: block;
}

a {
  text-decoration: none;
  position: absolute;
  bottom: 10px;
  right: 10px;
  text-align: right;
  color: #eee;
  font-size: 15px;
  line-height: 15px;
}

@import url(https://fonts.googleapis.com/css?family=Ubuntu:300);
</style>
<script>
$('.txt').html(function(i, html) {
  var chars = $.trim(html).split("");

  return '<span>' + chars.join('</span><span>') + '</span>';
});
</script>

<div class="container">
  <span class="txt anim-text-flow">How are you? Bacon ipsum dolor sit amet.</span>
</div>

<a target="_blank" href="https://www.hendrysadrak.com">@hendrysadrak</a>
[/html]

0

59

[hideprofile][html]
<style>
canvas {
  background: #023;
  display: block;
}
</style>
<script>
# General Variables
sketch = Sketch.create()
particles = []
particleCount = 750
sketch.mouse.x = sketch.width / 2
sketch.mouse.y = sketch.height / 2
sketch.strokeStyle = 'hsla(200, 50%, 50%, .4)'
sketch.globalCompositeOperation = 'lighter'
 
# Particle Constructor
Particle = ->
  this.x = random( sketch.width )
  this.y = random( sketch.height, sketch.height * 2 )
  this.vx = 0
  this.vy = -random( 1, 10 ) / 5
  this.radius = this.baseRadius = 1
  this.maxRadius = 50 
  this.threshold = 150
  this.hue = random( 180, 240 )

# Particle Prototype
Particle.prototype =
  update: ->
    # Determine Distance From Mouse
    distx = this.x - sketch.mouse.x
    disty = this.y - sketch.mouse.y
    dist = sqrt( distx * distx + disty * disty )
   
    # Set Radius
    if dist < this.threshold
      radius = this.baseRadius + ( ( this.threshold - dist ) / this.threshold ) * this.maxRadius
      this.radius = if radius > this.maxRadius then this.maxRadius else radius
    else
      this.radius = this.baseRadius
       
    # Adjust Velocity
    this.vx += ( random( 100 ) - 50 ) / 1000
    this.vy -= random( 1, 20 ) / 10000
     
    # Apply Velocity
    this.x += this.vx
    this.y += this.vy
     
    # Check Bounds   
    if this.x < - this.maxRadius || this.x > sketch.width + this.maxRadius || this.y < - this.maxRadius
      this.x = random( sketch.width )     
      this.y = random( sketch.height + this.maxRadius, sketch.height * 2 )
      this.vx = 0
      this.vy = -random( 1, 10 ) / 5
  render: ->
    sketch.beginPath()
    sketch.arc( this.x, this.y, this.radius, 0, TWO_PI )
    sketch.closePath()
    sketch.fillStyle = 'hsla(' + this.hue + ', 60%, 40%, .35)'
    sketch.fill()
    sketch.stroke()

# Create Particles
z = particleCount
while z--
  particles.push( new Particle() )

# Sketch Clear
sketch.clear = ->
  sketch.clearRect( 0, 0, sketch.width, sketch.height )
 
# Sketch Update
sketch.update = ->
  i = particles.length
  particles[ i ].update() while i--

# Sketch Draw
sketch.draw = -> 
  i = particles.length
  particles[ i ].render() while i--

</script>

[/html]

0

60

[hideprofile][html]
<style>

#marco{
    height:100vh;
    display:flex;
    justify-content: center;
    align-items: flex-end;
    background: -moz-radial-gradient(center, ellipse cover,  #d3c5a5 1%, #6fa56b 42%, #405b63 69%, #13161e 99%);
    background: -webkit-radial-gradient(center, ellipse cover,  #d3c5a5 1%,#6fa56b 42%,#405b63 69%,#13161e 99%);
    background: radial-gradient(ellipse at center,  #d3c5a5 1%,#6fa56b 42%,#405b63 69%,#13161e 99%);
}
#mesa{
     max-width: 1300px;
     min-width: 700px;
    align-self: flex-end;
}
.spider{
    width: 15%;
    min-width: 50px;
     position: absolute;
    -webkit-animation: mover 17s  Ease infinite;
    -ms-animation: mover 17s  Ease infinite;
            animation: mover 17s  Ease infinite;
}
@-webkit-keyframes mover {
     0%   {left:10%; top:-8%;}
    25%  {left:23%; top:-10%;}
    60%  {left:39%; top:-9%;}
    75%  {left:28%; top:-6%;}
    100% {left:10%; top:-8%;}
}
@-ms-keyframes mover {
     0%   {left:10%; top:-8%;}
    25%  {left:23%; top:-10%;}
    60%  {left:39%; top:-9%;}
    75%  {left:28%; top:-6%;}
    100% {left:10%; top:-8%;}
}
@keyframes mover {
     0%   {left:10%; top:-8%;}
    25%  {left:23%; top:-10%;}
    60%  {left:39%; top:-9%;}
    75%  {left:28%; top:-6%;}
    100% {left:10%; top:-8%;}
}
svg{
    width: 80%;
    min-width: 150px;
}
#pataI1{
    -webkit-animation: girar 1s  Ease infinite;
    -moz-animation: girar 1s  Ease infinite;
     animation: girar 1s  Ease infinite;
}
#pataI2, #pataD2{
    -webkit-animation: girar 1.5s  Ease infinite;
    -moz-animation: girar 1.5s  Ease infinite;
    animation: girar 1.5s  Ease infinite;
    animation-delay: 0.5s;
}
#pataI3{
    -webkit-animation: girar 2s  Ease infinite;
    -moz-animation: girar 2s  Ease infinite;
     animation: girar 2s  Ease infinite;
    animation-delay: 0.5s;
}   
#pataD3{
    -webkit-animation: girar 1.8s  Ease infinite;
    -moz-animation: girar 1.8s  Ease infinite;
    animation-delay: 0.5s;
}
#pataD1{
    -webkit-animation: girar 1.2s  Ease infinite;
    -moz-animation: girar 1.2s  Ease infinite;
    animation-delay: 0.8s;
}
   @-webkit-keyframes girar{
        0%{
            transform: rotate(2deg);
        }
        50%{
            transform: rotate(4deg);
        }
        100%{
        transform: rotate(2deg);
        }
    }
  @-moz-keyframes girar{
        0%{
            transform: rotate(2deg);
        }
        50%{
            transform: rotate(4deg);
        }
        100%{
        transform: rotate(2deg);
        }
    }
     @keyframes girar{
        0%{
            transform: rotate(2deg);
        }
        50%{
            transform: rotate(4deg);
        }
        100%{
        transform: rotate(2deg);
        }
    }

</style>
<script>

</script>

    <!DOCTYPE html>

<div id="marco">
<img id="mesa" src="http://evasantos.com/ilustraciones/halloween/halloween.svg"/>

<svg class="spider" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 310.1 418">
<path id="pataI3" d="M136.6,255.6c0,0-48.4,24-48.5,36.7c-0.1,10.8,33.6,27.3,33.6,27.3l-16.4,13.3l6.2,7l14.8-20.3
c0,0-31.1-17.5-30.6-27.9c0.6-11.6,43.9-30.7,43.9-30.7L136.6,255.6z"/>
<path id="pataI2" d="M137,249.8c0,0-54.2-20.8-65.7-13.2c-12.2,8-10.7,57.4-10.7,57.4l-17,10.1l3.2,7.3L64.7,298
c0,0-1.3-50,10.5-57.4c10.8-6.8,60,15.2,60,15.2L137,249.8z"/>
<path id="pataI1" d="M135.5,251.9c0,0-40-44.8-55.8-43.2C64.8,210.2,41,254,41,254L53,271.2l-7,3.1l-9.8-22.6c0,0,26.3-48.3,42.7-50
c15.1-1.5,59.1,46.3,59.1,46.3L135.5,251.9z"/>
<path id="pataD1" d="M148.3,250.1c0,0,18.4-53.3,31.5-56.4c14.4-3.5,52.6,31.8,52.6,31.8l24.3-3.5l-1.2-7.4l-22.6,6.2
c0,0-39.5-36.7-55-32.8c-14.8,3.7-35.3,59.9-35.3,59.9L148.3,250.1z"/>
<path id="pataD2" d="M142.6,251.7c0,0,41.9-38.7,57.4-32.8c12.6,4.8,17.2,51.5,17.2,51.5l20.5,4.7l-2.6,8.6l-21.9-9.4
c0,0-4-45-15.4-49.7c-13.2-5.5-50.6,29-50.6,29L142.6,251.7z"/>
<path id="pataD3" d="M150.1,260.3c0,0,39,8.8,43.3,19.9c3.4,9-15.2,35.5-15.2,35.5l15.6,6.2l-3.9,6.6L171.1,318
c0,0,20.3-26.8,16.9-36.1c-3.6-10-38.4-18.5-38.4-18.5L150.1,260.3z"/>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="397.3499" y1="-294.1096" x2="338.9883" y2="-303.9042" gradientTransform="matrix(0.9959 -9.096393e-002 -9.096393e-002 -0.9959 -242.2795 -11.509)">
<stop  offset="0" style="stop-color:#FFFFFF"/>
<stop  offset="0.1149" style="stop-color:#C9C9C9"/>
<stop  offset="0.2417" style="stop-color:#949494"/>
<stop  offset="0.3705" style="stop-color:#676767"/>
<stop  offset="0.4987" style="stop-color:#424242"/>
<stop  offset="0.626" style="stop-color:#252525"/>
<stop  offset="0.7525" style="stop-color:#101010"/>
<stop  offset="0.8776" style="stop-color:#040404"/>
<stop  offset="1" style="stop-color:#000000"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M137.5,229.8c16.3-1.5,30.7,9,31.9,23.3c1.3,14.4-10.8,27.2-27.2,28.7c-16.3,1.5-30.7-9-31.9-23.3
C109,244.2,121.2,231.4,137.5,229.8z"/>
<ellipse fill="#FCFCFC" cx="128.7" cy="263.9" rx="7.4" ry="7.6"/>
<ellipse fill="#FCFCFC" cx="153.7" cy="261.6" rx="7.4" ry="7.6"/>
<ellipse cx="131.7" cy="263.1" rx="4.1" ry="4.4"/>
<ellipse cx="151.8" cy="261.7" rx="4.1" ry="4.4"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M139.1,233.7"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M133.7-5.9c1.6,97.6,1.6,245.9,1.6,245.9"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M112,259.7c0,0-5.5-3.7-8.6,1"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M114.4,263.1c-3.1-0.8-4.4,0.2-5.5,1"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M117,243.6c0,0-3.1-5.7-7.3-4.7"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M128.7,276.9c0,0-2.9,2.3-3.9,4.1"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M131.9,232.9c-0.5-4.1-5.5-7.8-7-7.8"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M139.7,231.4c0-2.6,0.5-5.2,2.3-6.5"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M158.1,237.6c0.8-2.9,2.3-5.5,4.9-6.2"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M167,251.7c2.6-2.1,4.7-2.1,6-1.3"/>
<path fill="none" stroke="#000000" stroke-width="0.7805" stroke-miterlimit="10" d="M165.9,261.6c0,0,5.2-1,6.2,1.8"/>
<path fill="#FFFFFF" stroke="#020000" stroke-width="0.7805" stroke-miterlimit="10" d="M133.1,275.6c-1.8,2.3,0.2,6.5,2.6,7.6
c2.3,1.1,0.2-3.1,1-5.7C137.5,274.9,133.1,275.6,133.1,275.6z"/>
<path fill="#FFFFFF" stroke="#020000" stroke-width="0.7805" stroke-miterlimit="10" d="M151.1,274.9c1.8,2.3-0.2,6.5-2.6,7.6
c-2.3,1.1-0.2-3.1-1-5.7C146.7,274.2,151.1,274.9,151.1,274.9z"/>
<path fill="none" stroke="#020000" stroke-width="0.7805" stroke-miterlimit="10" d="M156.5,274.1c1.3,0.5,3.7,3.1,3.7,4.1"/>
</svg>
</div>

[/html]

0


Вы здесь » concoction » ХТМЛ и журнал » Тестовое сообщение


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