Skip to content

Instantly share code, notes, and snippets.

View PonomareVlad's full-sized avatar

Vladislav Ponomarev PonomareVlad

View GitHub Profile
@PonomareVlad
PonomareVlad / index.html
Last active November 24, 2020 22:21
Styles for antonbalakin.com/integra
<style>
.t-feed__post-popup__close-text,
.t786__close-text.t-descr.t-descr_xxs,
.t778__close-text.t-descr.t-descr_xxs{
font-size: 18px !important;
line-height: .9 !important;
}
.t-text_md {
font-size: 18px !important;
@PonomareVlad
PonomareVlad / index.html
Created February 28, 2020 16:13
Styles for antonbalakin.com
<style>
a.tn-atom[href="https://www.behance.net/balakindesign"]:hover,
a.tn-atom[href="https://www.facebook.com/antonbalakinn"]:hover,
a.tn-atom[href="https://www.instagram.com/antonbalakinn/"]:hover,
a.tn-atom[href="https://www.antonbalakin.com/true_case"]:hover,
a.tn-atom[href="https://www.antonbalakin.com/readysteady_case"]:hover,
a.tn-atom[href="https://www.antonbalakin.com/skinexpert_case"]:hover,
a.tn-atom[href="https://www.antonbalakin.com/skat_case"]:hover {
opacity: .7;
}
@PonomareVlad
PonomareVlad / index.html
Created March 28, 2019 08:39
First lesson
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Мой первый</title>
</head>
<body>
<h1>Привет из HTML!</h1>
<p>Наш прогресс в изучении HTML:</p>
<progress max="100" value="5"></progress>
@PonomareVlad
PonomareVlad / slideScrollGtm.js
Last active December 30, 2018 07:39
SlideScroll + GTM
// Запускаем плагин слайдов
window.slideScroll = new SlideScroll({
lazyDisplayOffset: 3, // Количество отображаемых блоков относительно активного
debug: true // Режим отладки в консоли
});
slideScroll.onActive(slideNode => dataLayer.push({'event': 'foto_' + slideNode.order})); // GTM
@PonomareVlad
PonomareVlad / slideScrollUrlScrollGtm.js
Last active December 30, 2018 11:16
SlideScroll + UrlScroll + GTM
// Запускаем плагин слайдов
window.slideScroll = new SlideScroll({
lazyDisplayOffset: 3, // Количество отображаемых блоков относительно активного
debug: true // Режим отладки в консоли
});
slideScroll.onActive(slideNode => dataLayer.push({'event': 'foto_' + slideNode.order})); // GTM
slideScroll.onReady(() => {
// Запускаем плагин смены Url после того как запустился плагин слайдов