Синхронизация настроек Sublime Text 3
This file contains hidden or 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="tab-accordio__wrapper"> | |
<!-- heading --> | |
<ul id="tab-accordion" class="nav nav-tabs d-none d-sm-flex mt-3" role="tablist"> | |
<li class="nav__item nav-item"> | |
<a role="tab" class="nav-link active show" data-toggle="tab" href="#home" | |
aria-selected="true"> | |
Heading 1 | |
</a> | |
</li> | |
<li class="nav__item nav-item"> |
This file contains hidden or 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="main-menu-wrapper"> | |
<div class="container"> | |
<div class="mobile-menu-wrapper"> | |
{# trigger mobile menu #} | |
<span class="mob-calls__menu"><i></i></span> | |
{# mobile & desctop menu #} | |
<nav class="header__nav"> | |
<ul class="nav"> | |
<span class="nav__item-description"> |
This file contains hidden or 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
@supports (-webkit-background-clip: text) { | |
.letter { | |
background-image: linear-gradient(170deg, rgba(234, 234, 234, 0) 15%, rgba(234, 234, 234, 0.4) 22%, rgba(194, 73, 119, 0.9) 45%, #c24977 100%); | |
-webkit-background-clip: text; | |
background-clip: text; | |
background-position: center -250%; | |
color: transparent | |
} | |
.letter.-animate{ | |
background-position: 0% 150%; |
This file contains hidden or 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 class="supvideo">Мне нравится!</button> | |
<p> Количество просмотров <output id="statlike" >--</output></p> |
This file contains hidden or 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
browser = function ($) { | |
'use strict'; | |
var data = [ | |
{ str: navigator.userAgent, sub: 'Chrome', ver: 'Chrome', name: 'chrome' }, | |
{ str: navigator.vendor, sub: 'Apple', ver: 'Version', name: 'safari' }, | |
{ prop: window.opera, ver: 'Opera', name: 'opera' }, | |
{ str: navigator.userAgent, sub: 'Firefox', ver: 'Firefox', name: 'firefox' }, | |
{ str: navigator.userAgent, sub: 'MSIE', ver: 'MSIE', name: 'ie' }, | |
{ str: navigator.userAgent, sub: 'Trident/7.0', ver: 'rv', name: 'ie' } | |
]; |
This file contains hidden or 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
$(window).scroll(function() { | |
var st = $(this).scrollTop() /10; | |
$(".object").css({ | |
"transform" : "translate3d(0px, " + st + "%, .01px)", | |
"-webkit-transform" : "translate3d(0px, " + st + "%, .01px)" | |
}); | |
}); |
This file contains hidden or 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
$(window).scroll(function() { | |
var st = $(this).scrollTop(); | |
if($(window).height()+500 > $("header").height()) { | |
$("header .col-md-12").css({ | |
"transform" : "translate3d(0px, " + st /18 + "%, 0px)", | |
"-webkit-transform" : "translate3d(0px, " + st /18 + "%, 0px)", | |
"opacity" : "1" - st/700 | |
}); |
This file contains hidden or 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
//Active menu | |
$("li a").each(function() { | |
if (this.href == window.location.href) { | |
$(this).addClass("active"); | |
} | |
}); |
This file contains hidden or 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
$(".scroll-next").click(function() { | |
var cls = $(this).closest(".section").next().offset().top; | |
$("html, body").animate({scrollTop: cls}, "slow"); | |
}); |