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-description__title.delivery:before, | |
.accordion-description__title.delivery:after { | |
content: ""; | |
transform: rotate(45deg); | |
transition: .2s all; | |
position: absolute; | |
right: 16px; | |
top: 7px; | |
background: #229fff; | |
width: 2px; |
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
replace("watch?v=", "embed/") |
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
$('.js-anchor').click(function () { | |
$('html, body').animate({ | |
scrollTop: $($.attr(this, 'href')).offset().top - 50 | |
}, 500); | |
}); |
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
function validateEmail(email) { | |
var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; | |
return re.test(email); | |
} | |
function validate() { | |
var $result = $("#result"); | |
var email = $("#email").val(); | |
$result.text(""); |
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 a = new Date; | |
if (8 == a.getMonth() && 2018 == a.getUTCFullYear() || 9 == a.getMonth() && 2018 == a.getUTCFullYear() || 10 == a.getMonth() && 2018 == a.getUTCFullYear() || 11 == a.getMonth() && 2018 == a.getUTCFullYear()) { | |
var p = "323584260a25ba14b5bd8cb5bb5201ea", b = "c4a6141606838e310da353fc0e77d211"; | |
!function (c, d, f) { | |
(d[f] = d[f] || []).push(function () { | |
try { | |
d.yaCounter51079397 = new Ya.Metrika({ | |
id: 51079397, | |
clickmap: !0, | |
trackLinks: !0, |
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
/*begin from w40h60 to w30h45*/ | |
.flip-clock-divider.days .flip-clock-label { | |
left: 3px; | |
} | |
.flip-clock-divider.hours .flip-clock-label, | |
.flip-clock-divider.minutes .flip-clock-label { | |
left: 20px; | |
} | |
.flip-clock-dot { | |
left: 3px; |
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
CSS | |
@media all and (-webkit-min-device-pixel-ratio : 1.5), | |
all and (-o-min-device-pixel-ratio: 3/2), | |
all and (min--moz-device-pixel-ratio: 1.5), | |
all and (min-device-pixel-ratio: 1.5) { | |
//div.background { | |
// background-image: url(./images/[email protected]); | |
// background-size: 200px 200px; | |
//} | |
} |
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
$(function(){ | |
moveBox(); | |
}); | |
function moveBox(){ | |
var box = $('.box'); | |
var posX = box.position().left; | |
var posY = box.position().top; | |
var flag = false; | |
var coordEnterX; |
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
.element { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%); | |
} |