Скрипты для сайта
Главная
|
Регистрация
|
Вход
Приветствую Вас
Гость
|
RSS
Меню сайта
Главная страница
Блог
Гостевая книга
Обратная связь
Слайдеры и слайдшоу
Графика и мультимедиа
Оформление текста
Структурирование текста
Таблицы
Cоздания Web-страниц
Средства навигации
Московское время
Теги HTML
Терминология языка HTML
Теги HTML по алфавиту
Теги HTML по типу
Уроки HTML начинающим
CSS
Введение в стили CSS
Параметры шрифта и фона
Отображения текста
Отступы,рамки и выделение
Параметры абзацев,списков
Параметры таблиц
Специальные селекторы
Реклама
Все для сайта
Все для графики
Меню и навигация
Слайдеры и слайдшоу
Кнопки и иконки
Tooltips
Аудио и видео плееры
Формы и таблицы
School Cassette Player
Old School Cassette Player
Код CSS
@import url('../css/normalize.css'); /* Icon font for player controls */ @font-face { font-family: 'playericons'; src: url("../playericons.eot"); src: url("../playericons.eot#iefix") format('embedded-opentype'), url("http://samouchka-html.ucoz.ru/dlya-grafiki/player/Cassette-Player/css/playericons.woff") format('woff'), url("../playericons.ttf") format('truetype'), url("../playericons.svg#playericons") format('svg'); font-weight: normal; font-style: normal; } /* General Demo Style */ body{ font-family: Cambria, Georgia, serif; background: #b6b6b6 url("../image/bg.jpg") fixed no-repeat top center; font-weight: 400; font-size: 15px; color: #333; overflow-y: scroll; overflow-x: hidden; } a{ color: #2886BC; text-decoration: none; } a:hover{ color: #000; } .container{ width: 100%; position: relative; } .clr{ clear: both; padding: 0; height: 0; margin: 0; } .container > header{ margin: 10px 10px 0px 10px; padding: 20px 10px 0px 10px; position: relative; display: block; text-shadow: 1px 1px 1px rgba(0,0,0,0.2); text-align: center; } .container > header h1{ font-family: 'Aldrich'; font-size: 26px; line-height: 26px; margin: 0; position: relative; font-weight: 300; color: #666; text-shadow: 1px 1px 1px rgba(255,255,255,0.5); } .container > header h1 span{ font-weight: 700; } .container > header h2{ width: 500px; font-size: 14px; line-height: 22px; font-weight: 300; margin: 0 auto; padding: 15px 0 5px 0; color: #666; font-style: italic; text-shadow: 1px 1px 1px rgba(255,255,255,0.9); } .container > header h2 strong{ color: #781430; } .main{ width: 672px; height: 480px; padding: 30px 0; margin: 0 auto; position: relative; overflow: hidden; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } /* Header Style */ .codrops-top{ line-height: 24px; font-size: 11px; background: #fff; background: rgba(255, 255, 255, 0.7); text-transform: uppercase; z-index: 9999; position: relative; font-family: Cambria, Georgia, serif; box-shadow: 1px 0px 2px rgba(0,0,0,0.2); } .codrops-top a{ padding: 0px 10px; letter-spacing: 1px; color: #333; display: inline-block; } .codrops-top a:hover{ background: rgba(255,255,255,0.3); } .codrops-top span.right{ float: right; } .codrops-top span.right a{ float: left; display: block; } .attribution{ width: 600px; margin: 0 auto; text-align: center; padding: 20px 10px 50px; border-top: 1px solid rgba(255,255,255,0.5); box-shadow: 0 -1px 0 rgba(0,0,0,0.1); text-shadow: 0 1px 1px rgba(255,255,255,0.8); font-size: 10px; font-family: 'Aldrich'; text-transform: uppercase; font-weight: 300; letter-spacing: 1px; color: #666; } .support-note span{ color: #ac375d; font-size: 16px; display: none; font-weight: bold; text-align: center; padding: 5px 0; } .no-cssanimations .support-note span.no-cssanimations, .no-csstransforms .support-note span.no-csstransforms, .no-csstransforms3d .support-note span.no-csstransforms3d, .no-csstransitions .support-note span.no-csstransitions{ display: block; }
/* Main container */ .vc-container{ text-align: center; height: 500px; margin-bottom: 50px; position: relative; } /* Tape elements */ .vc-tape-wrapper{ -webkit-perspective: 800px; -moz-perspective: 800px; -o-perspective: 800px; -ms-perspective: 800px; perspective: 800px; } .vc-tape{ width: 586px; height: 379px; margin: 30px auto 0; position: relative; -webkit-transition: all .4s ease-in-out; -moz-transition: all .4s ease-in-out; -o-transition: all .4s ease-in-out; -ms-transition: all .4s ease-in-out; transition: all .4s ease-in-out; } .vc-loader{ position: absolute; width: 31px; height: 31px; bottom: 50px; left: 50%; margin: -15px 0 0 -15px; background: transparent url("../images/ajax-loader.gif") no-repeat center center; display: none; } .vc-tape-back{ width: 100%; height: 100%; position: relative; background: transparent url("../images/cs_back.png") no-repeat center center; } .vc-tape-wheel{ width: 125px; height: 125px; position: absolute; top: 110px; background: transparent; border-radius: 50%; } .vc-tape-wheel-left{ left: 109px; box-shadow: 0 0 0 70px #000; } .vc-tape-wheel-right{ right: 113px; } @-webkit-keyframes rotateLeft { 0% { -webkit-transform: rotate(0deg) translateZ(-1px); } 100% { -webkit-transform: rotate(-360deg) translateZ(-1px); } } @-webkit-keyframes rotateRight { 0% { -webkit-transform: rotate(0deg) translateZ(-1px); } 100% { -webkit-transform: rotate(360deg) translateZ(-1px); } } @-moz-keyframes rotateLeft { 0% { -moz-transform: rotate(0deg) translateZ(-1px); } 100% { -moz-transform: rotate(-360deg) translateZ(-1px); } } @-moz-keyframes rotateRight { 0% { -moz-transform: rotate(0deg) translateZ(-1px); } 100% { -moz-transform: rotate(360deg) translateZ(-1px); } } @-o-keyframes rotateLeft { 0% { -o-transform: rotate(0deg) translateZ(-1px); } 100% { -o-transform: rotate(-360deg) translateZ(-1px); } } @-o-keyframes rotateRight { 0% { -o-transform: rotate(0deg) translateZ(-1px); } 100% { -o-transform: rotate(360deg) translateZ(-1px); } } @-ms-keyframes rotateLeft { 0% { -ms-transform: rotate(0deg) translateZ(-1px); } 100% { -ms-transform: rotate(-360deg) translateZ(-1px); } } @-ms-keyframes rotateRight { 0% { -ms-transform: rotate(0deg) translateZ(-1px); } 100% { -ms-transform: rotate(360deg) translateZ(-1px); } } @keyframes rotateLeft { 0% { transform: rotate(0deg) translateZ(-1px); } 100% { transform: rotate(-360deg) translateZ(-1px); } } @keyframes rotateRight { 0% { transform: rotate(0deg) translateZ(-1px); } 100% { transform: rotate(360deg) translateZ(-1px); } } .vc-tape-wheel div{ width: 100%; height: 100%; background: transparent url("../images/cs_wheel.png") no-repeat center center; } .vc-tape-front{ width: 100%; height: 100%; position: absolute; background: transparent url("../images/cs_front.png") no-repeat center center; top: 0px; left: 0px; } .vc-tape-side-b{ display: none; -webkit-transform: rotate3d(0, 1, 0, 180deg); -moz-transform: rotate3d(0, 1, 0, 180deg); -o-transform: rotate3d(0, 1, 0, 180deg); -ms-transform: rotate3d(0, 1, 0, 180deg); transform: rotate3d(0, 1, 0, 180deg); } .vc-tape-front span{ color: rgba(0, 0, 0, 0.6); position: absolute; top: 83px; left: 67px; font-family: Arial; font-weight: bold; font-size: 20px; } /* Controls list */ ul.vc-controls{ list-style: none; padding: 0; width: 440px; position: absolute; bottom: 18px; left: 50%; margin: 0 0 0 -170px; background: -moz-linear-gradient(top, rgba(170,170,170,0.35) 0%, rgba(255,255,255,0.44) 50%, rgba(255,255,255,0.53) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(170,170,170,0.35)), color-stop(50%,rgba(255,255,255,0.44)), color-stop(100%,rgba(255,255,255,0.53))); background: -webkit-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%); background: -o-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%); background: -ms-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%); background: linear-gradient(to bottom, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59aaaaaa', endColorstr='#87ffffff',GradientType=0 ); border: 1px solid rgba(0,0,0,0.1); border-bottom-color: rgba(255,255,255,0.6); padding: 8px; height: 54px; box-shadow: inset 0 1px 0px rgba(0,0,0,0.05), 0 1px 0 rgba(255,255,255,0.8), 0 -1px 0 rgba(255,255,255,0.4), inset 0 2px 19px rgba(0,0,0,0.05), 0 2px 1px rgba(0,0,0,0.06); -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; border-radius: 12px; } /* Controls list items */ ul.vc-controls li { display: block; float: left; width: 80px; height: 50px; line-height: 55px; text-align: left; padding: 10px; margin: 0; cursor: pointer; background: #ddd url("../images/metal.jpg") no-repeat center top; box-shadow: inset 0 0 0 1px rgba(0,0,0, 0.2), inset 0 0 1px 2px rgba(255,255,255,0.9), inset 0 -6px 5px rgba(0,0,0,0.1), 0 6px 7px rgba(0,0,0,0.3), 0 4px 1px rgba(0,0,0,0.5); -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } ul.vc-controls li:first-child{ border-radius: 8px 0 0 8px; } ul.vc-controls li:last-child{ border-radius: 0px 8px 8px 0px; } ul.vc-controls li.vc-control-play{ width: 120px; } /* Control icons */ ul.vc-controls li span:before{ font-size: 16px; line-height: 50px; text-align: center; float: left; color: #444; font-family: 'playericons'; text-shadow: 1px 1px 1px rgba(255,255,255,0.9); font-style: normal; font-weight: normal; text-transform: none; speak: none; display: inline-block; text-decoration: inherit; width: 1em; margin-right: 0.2em; text-align: center; } li.vc-control-pause span:before { content: '\50'; } li.vc-control-fforward span:before { content: '\23e9'; } li.vc-control-rewind span:before { content: '\23ea'; } li.vc-control-stop span:before { content: '\25aa'; } li.vc-control-play span:before { content: '\70'; } li.vc-control-volume-off span:before { content: '🔇'; } li.vc-control-volume-down span:before { content: '🔉'; } li.vc-control-volume-up span:before { content: '🔊'; } ul.vc-controls li:hover{ box-shadow: inset 0 0 0 1px rgba(0,0,0, 0.2), inset 0 0 1px 2px rgba(255,255,255,0.9), inset 0 -10px 15px rgba(0,0,0,0.1), 0 6px 7px rgba(0,0,0,0.3), 0 4px 1px rgba(0,0,0,0.5); } /* Pressed (active) */ ul.vc-controls li.vc-control-active{ height: 50px; margin-top: 2px; background-image: url("../images/metal_dark.jpg"); box-shadow: inset 0 0 0 1px rgba(0,0,0, 0.18), inset 0 0 1px 2px rgba(255,255,255,0.5), inset 0 -6px 5px rgba(0,0,0,0.1), 0 6px 7px rgba(0,0,0,0.3), 0 2px 1px rgba(0,0,0,0.5); } /* Activated */ ul.vc-controls li.vc-control-pressed, ul.vc-controls li.vc-control-active.vc-control-pressed{ height: 50px; background-image: url("../images/metal_dark.jpg"); margin-top: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0, 0.2), inset 0 0 5px 1px rgba(255,255,255,0.5), inset 0 -10px 15px rgba(0,0,0,0.2), 0 7px 5px rgba(255,255,255,0.5); } /* Background for the volume knob See knobKnob.css for the knob style */ .vc-volume-wrap{ width: 100px; height: 100px; position: absolute; bottom: 0px; left: 50%; margin-left: -318px; background: -moz-linear-gradient(top, rgba(170,170,170,0.35) 0%, rgba(255,255,255,0.44) 50%, rgba(255,255,255,0.53) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(170,170,170,0.35)), color-stop(50%,rgba(255,255,255,0.44)), color-stop(100%,rgba(255,255,255,0.53))); background: -webkit-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%); background: -o-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%); background: -ms-linear-gradient(top, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%); background: linear-gradient(to bottom, rgba(170,170,170,0.35) 0%,rgba(255,255,255,0.44) 50%,rgba(255,255,255,0.53) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59aaaaaa', endColorstr='#87ffffff',GradientType=0 ); border: 1px solid rgba(0,0,0,0.1); border-radius: 50%; padding: 8px; box-shadow: inset 0 1px 0px rgba(0,0,0,0.05), 0 1px 0 rgba(255,255,255,0.6), 0 -1px 0 rgba(255,255,255,0.4), inset 0 2px 19px rgba(0,0,0,0.05), 0 2px 1px rgba(0,0,0,0.06); -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } .vc-volume-wrap:after{ content: 'Volume'; margin-top: 15px; display: block; } /* Text style for controls */ ul.vc-controls li, .vc-volume-wrap:after{ font-family: 'Aldrich'; font-size: 10px; font-weight: 300; text-transform: uppercase; letter-spacing: 1px; color: #666; text-shadow: 0 1px 1px rgba(255,255,255,0.8); }
/*---------------------------- knobKnob Styles -----------------------------*/ .knob{ width: 100px; height: 100px; position: relative; } .knob .top{ position: absolute; width: 100%; height: 100%; background: url('../images/knob.jpg') no-repeat center center; z-index: 10; cursor: default !important; border-radius: 50%; box-shadow: inset 0 0 3px 2px rgba(255,255,255,0.6); } .knob .base{ width: 100%; height: 100%; box-shadow: 0 5px 0 #555, 0px 5px 5px black; position: absolute; z-index: 1; border-radius: 50%; } .knob .top:after{ content: ''; width: 4px; height: 4px; background-color: #666; position: absolute; top: 50%; margin-top: -2px; left: 4px; border-radius: 50%; cursor: default !important; box-shadow: 0 0 1px #5a5a5a inset, 1px -1px 1px rgba(255,255,255,0.5); } .knob [draggable] { -moz-user-select: none; -webkit-user-select: none; user-select: none; }
JAVASCRIPT
<script type="text/javascript" src="http://samouchka-html.ucoz.ru/dlya-grafiki/player/Cassette-Player/js/1.7.2.jquery.min.js"></script> <script src="http://samouchka-html.ucoz.ru/dlya-grafiki/player/Cassette-Player/js/transform.js"></script> <script src="http://samouchka-html.ucoz.ru/dlya-grafiki/player/Cassette-Player/js/knobKnob.jquery.js"></script> <script type="text/javascript" src="http://samouchka-html.ucoz.ru/dlya-grafiki/player/Cassette-Player/js/jquery.cassette.js"></script>
<script type="text/javascript"> $(function() { $( '#vc-container' ).cassette(); }); </script>
Листинг
<div class="container">
<div id="vc-container" class="vc-container">
<div class="vc-tape-wrapper">
<div class="vc-tape">
<div class="vc-tape-back">
<div class="vc-tape-wheel vc-tape-wheel-left"><div></div></div>
<div class="vc-tape-wheel vc-tape-wheel-right"><div></div></div>
</div>
<div class="vc-tape-front vc-tape-side-a">
<span>A</span>
</div>
<div class="vc-tape-front vc-tape-side-b">
<span>B</span>
</div>
</div>
</div>
<div class="vc-loader"></div>
</div>
<!-- //vc-container -->
Предпросмотр
Скачать
Заработай сейчас!
Навигация по сайту
ТЕГИ html на <А>
Тег <a>
Тег <аbbr>
Тег <аcrоnym>
Тег <аddrеss>
Тег <аррlet>
Тег <area>
Тег <article>
Тег <aside>
Тег <audio>
ТЕГИ html на <B>
Тег <b>
Тег <br>
Тег <base>
Тег <basefont>
Тег <bdo>
Тег <bgsound>
Тег <button>
Тег<blockquote>
Тег <big>
Тег <body>
Тег <blink>
< option value="//samouchka-html.ucoz.ru/load/tegi_html_po_alfavitu/teg_lt_br/2-1-0-15 " title="Тег <b>br>">Тег <br> option value="//samouchka-html.ucoz.ru/load/tegi_html_po_alfavitu/teg_lt_button/2-1-0-14 " title="Тег <b>button> "> Тег <button>
ТЕГИ html на <C>
Тег <canvas>
Тег <caption>
Тег <center>
Тег <cite>
Тег <code>
Тег <col>
Тег <colgroup>
Тег <command>
Тег <comment>
ТЕГИ html на <D>
Тег <datalist>
Тег <dd>
Тег <del>
Тег <details>
Тег <dfn>
Тег <dir>
Тег <div>
Тег <dl>
Тег <dt>
ТЕГИ html на <E>
Тег <em>
Тег <embed>
ТЕГИ html на <F>
Тег <fieldset>
Тег<figcaption>
Тег <figure>
Тег <font>
Тег <form>
Тег <footer>
Тег <frame>
Тег <frameset>
ТЕГИ html на <H>
Тег <h1> - <h6>
Тег <head>
Тег <header>
Тег <hgroup>
Тег <hr>
Тег <html>
ТЕГИ html на <I>
Тег <i>
Тег <iframe>
Тег <img>
Тег <input>
Тег <ins>
Тег <isindex>
ТЕГИ html на <K>
Тег <kbd>
Тег <keygen>
ТЕГИ html на <L>
Тег <label>
Тег <legend>
Тег <li>
Тег <link>
Тег <listing>
ТЕГИ html на <M>
Тег <map>
Тег <marquee>
Тег <mark>
Тег <menu>
Тег <meta>
Тег <meter>
Тег <multicol>
ТЕГИ html на <N>
Тег <nav>
Тег <nobr>
Тег <noembed>
Тег <noframes>
Тег <noscript>
ТЕГИ html на <O>
Тег <object>
Тег <ol>
Тег <optgroup>
Тег <option>
Тег <output>
ТЕГИ html на <P>
Тег <p>
Тег <param>
Тег <plaintext>
Тег <pre>
Тег <progress>
ТЕГИ html на <Q>
Тег <q>
ТЕГИ html на <R>
Тег <rp>
Тег <rt>
Тег <ruby>
t>
ТЕГИ html на <S>
Тег <s>
Тег <samp>
Тег <script>
Тег <section>
Тег <select>
Тег <small>
Тег <source>
Тег <spacer>
Тег <span>
Тег <strike>
Тег <strong>
Тег <style>
Тег <sub>
Тег <summary>
Тег <sup>
ТЕГИ html на <T>
Тег <table>
Тег <tbody>
Тег <td>
Тег <textarea>
Тег <tfoot>
Тег <th>
Тег <thead>
Тег <time>
Тег <title>
Тег <tr>
Тег <track>
Тег <tt>
ТЕГИ html на <U>
Тег <u>
Тег <ul>
ТЕГИ html на <V>
Тег <var>
Тег <video>
ТЕГИ html на <W>
Тег <wbr>
ТЕГИ html на <X>
Тег <xmp>
УРОКИ HTML НАЧИНАЮЩИМ
Введение HTML
Структура HTML-документа
Атрибуты и заголовки
Текст в html-документе
Создание таблиц в HTML
Графика и мультимедиа
Создание списков в HTML
Создание ссылок в HTML
Создание форм в HTML
Изображения на странице
ТЕГИ HTML ПО ТИПУ
HTML 5
Блочные элементы
Строчные элементы
Универсальные элементы
Нестандартные теги
Осуждаемые теги
Видео
Документ
Звук
Изображения
Объекты
Скрипты
Списки
Ссылки
Таблицы
Текст
Форматирование
Формы
Фреймы
ВСЕ ДЛЯ СОЗДАНИЯ САЙТА
Создание кнопок
Бегущая строка
Интерактивность на сайте
Слайдеры и слайдшоу
Меню и навигация по сайту
Эффекты для изображений
Все для графики
Кнопки и иконки на css
Гаджеты
Поиск по сайту
Друзья сайта
Самоучитель html
Все для веб-мастера
Музыка для души
Мир развлечений
Скачать кино бесплатно!
Видеоклипы online
Хостинг от
uCoz
Avon
Присоединяйтесь
к Avon