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 myModule = (function () { | |
var init = function () { | |
_setUpListners(); | |
// то, что должно произойти сразу | |
}; | |
var _setUpListners = function () { | |
//прослушка событий... |
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
SASS-@mixin для облегчения боли: | |
@mixin flexbox() { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
} |
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
.class{ | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} |
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 id="accordion"> | |
<h2>Tab1</h2> | |
<div class="tab1 active"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Hic, nulla!</p> | |
</div> | |
<h2>Tab2</h2> | |
<div class="tab2"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime, corrupti!</p> | |
</div> | |
<h2>Tab3</h2> |
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
box-shadow: inset 0 3px 5px rgba(0,0,0,.125); |
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
button.toggle_mnu | |
span.sandwich | |
span.sw-topper | |
span.sw-bottom | |
span.sw-footer |
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
form(name="input" action="/submit/form" method="POST" class="sendForm") | |
<!-- - Hidden input send form--> | |
input(type="hidden" name="project_name" value="Название сайта") | |
input(type="hidden" name="admin_email" value="ТУТ ДОЛЖЕН БЫТЬ ВАША ПОЧТА НА КОТОРЫЕ БУДУТ ПРИХОДИТЬ ЗАЯВКИ!!") | |
input(type="hidden" name="form_subject" value="Заявка на лендинг") | |
<!-- - End Hidden input send form--> | |
input(type="text" name="Name" placeholder="Ваше имя" class="inp") | |
input(type="email" name="Email" placeholder="Ваша Email" class="inp") | |
input(type="tel" name="telephone" placeholder="Ваш телефон" class="inp inp__phone") | |
textarea(rows="5" cols="45" name="message" placeholder="Ваше сообщения" class="inp inp__area") |
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
.btn{ | |
display: block; | |
margin: 0 auto; | |
margin-top: 20px; | |
background: $orange; | |
color: #fff; | |
text-transform: uppercase; | |
padding: 20px 30px; | |
border-radius: 5px; | |
box-shadow: 0px 17px 10px -10px rgba(0,0,0,0.4); |
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 colors = new Array( | |
[58,96,115], | |
[22,34,42], | |
[0, 22, 8], | |
[38,56,35], | |
[32,24,82], | |
[135, 129, 19] | |
); | |
var step = 0; |
OlderNewer