This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="toggle">open/close</div> | |
<div class='auth-book'> | |
<div class='paper paper-1'></div> | |
<div class='paper paper-2'></div> | |
<div class='paper paper-first-open'> | |
<div class='paper paper-3'></div> | |
<div class='paper paper-4'></div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.auth-book { | |
position: relative; | |
z-index: 120; | |
width: 100px; | |
height: 100px; | |
transform-style: preserve-3d; | |
perspective: 600px; | |
perspective-origin: center 150px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.popup | |
input#popup__trigger(type='checkbox' hidden) | |
label.popup__action(for='popup__trigger') click me! | |
.popup__content super text | |
label.popup__overlay(for='popup__trigger') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//- Каждый элемент должен иметь четкий порядок для совпадения | |
- var paths = [ "http://loremflickr.com/320/240?random=1", "http://loremflickr.com/320/240?random=2", "http://loremflickr.com/320/240?random=3", "http://loremflickr.com/320/240?random=4", "http://loremflickr.com/320/240?random=5" ] | |
- var hrefs = [ "http://vk.com", "http://vk.com", "http://vk.com", "http://vk.com", "http://vk.com" ] | |
- var titles = [ "Вконтактик", "Вконтактик", "Вконтактик", "Вконтактик", "Вконтактик" ] | |
- var alts = [ "Вконтактик", "Вконтактик", "Вконтактик", "Вконтактик", "Вконтактик" ] | |
.slider | |
.frame | |
- for (var i = 0; i < paths.length; i++) | |
a(href= hrefs[i] title= titles[i] target="_blank") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.switcher | |
input.switcher__input#switcher1(type='checkbox' hidden) | |
.switcher__wrap | |
label.switcher__item.switcher__on(for='switcher1') ✔ | |
label.switcher__item.switcher__toggle(for='switcher1') ||| | |
label.switcher__item.switcher__off(for='switcher1') ✘ | |
.switcher | |
input.switcher__input#switcher2(type='checkbox' hidden) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- var headlines = [ 'контакт', 'гугл', 'вааау' ] | |
- var tooltips = [ 'Вступи в группу в контакте', 'Гугл в помощь', 'ого, тултипчик' ] | |
- var links = [ 'http://vk.com', 'http://google.com', 'http://ya.ru' ] | |
- var images = [ 'http://loremflickr.com/400/200?random=1', 'http://loremflickr.com/400/200?random=2', 'http://loremflickr.com/400/200?random=3' ] | |
.slider | |
- for (var i = 1; i <= images.length; i++) | |
if i == 1 | |
input(checked data-slide='#{i}' id='slider-#{i}' class='slider-#{i}' type='radio' name='slider' hidden) | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.accordion | |
input.accordion__input#accordion-1(type='radio' name='accordion' hidden) | |
label.accordion__control(for='accordion-1') toggle-1 | |
section.accordion__content | |
div content content content content content content content content content content content content content content content content content | |
input.accordion__input#accordion-2(type='radio' name='accordion' hidden) | |
label.accordion__control(for='accordion-2') toggle-2 | |
section.accordion__content | |
div content content content content content content content content content content content content content content content content content content content content content content content content content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.accordion | |
input.accordion__input#accordion-1(type='checkbox' hidden) | |
label.accordion__control(for='accordion-1') toggle-1 | |
section.accordion__content | |
div content content content content content content content content content content content content content content content content content | |
input.accordion__input#accordion-2(type='checkbox' hidden) | |
label.accordion__control(for='accordion-2') toggle-2 | |
section.accordion__content | |
div content content content content content content content content content content content content content content content content content content content content content content content content content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.accordion | |
span.accordion__control(tabindex='-1') toggle-1 | |
section.accordion__content | |
div content content content content content content content content content content content content content content content | |
span.accordion__control(tabindex='-1') toggle-2 | |
section.accordion__content | |
div content content content content content content content content content content content content content content content | |
span.accordion__control(tabindex='-1') toggle-3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.dropdown | |
span.dropdown__control(tabindex='-1') dropdown | |
section.dropdown__content | |
a.dropdown__link(href='#') drop1 | |
a.dropdown__link(href='#') drop2 | |
a.dropdown__link(href='#') drop3 | |
a.dropdown__link(href='#') drop4 | |
a.dropdown__link(href='#') drop5 | |
a.dropdown__link(href='#') drop6 |
NewerOlder