Skip to content

Instantly share code, notes, and snippets.

.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;
replace("watch?v=", "embed/")
$('.js-anchor').click(function () {
$('html, body').animate({
scrollTop: $($.attr(this, 'href')).offset().top - 50
}, 500);
});
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("");
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,
/*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;
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/yourimage@2x.jpg);
// background-size: 200px 200px;
//}
}
$(function(){
moveBox();
});
function moveBox(){
var box = $('.box');
var posX = box.position().left;
var posY = box.position().top;
var flag = false;
var coordEnterX;
.element {
position: relative;
top: 50%;
transform: translateY(-50%);
}