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
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"> | |
<meta name=apple-mobile-web-app-capable content=yes> | |
<meta name=apple-mobile-web-app-status-bar-style content=black> | |
<meta name="googlebot" content="index,follow,snippet,archive"> | |
<meta name="robots" content="index,follow"> | |
<meta name="description" content="#"> | |
<meta name="keywords" content="#"> | |
<meta name="author" content="#"> |
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
document.getElementsByTagName('button')[0].onclick = function () { | |
scrollTo(document.body, 0, 1250); | |
} | |
function scrollTo(element, to, duration) { | |
var start = element.scrollTop, | |
change = to - start, | |
currentTime = 0, | |
increment = 20; | |
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
const fs = require('fs'); | |
const path = require('path'); | |
function removeAccents(str) { | |
return str.normalize('NFD').replace(/[\u0300-\u036f]/g, ''); | |
} | |
function kebabCase(str) { | |
return str | |
.replace(/[^\w\s-]/g, '') // Remove non-Latin characters and keep spaces and hyphens |
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
.tabs__header-tab.is-active { | |
// Some active styles for header | |
} | |
.tabs__content { | |
display: none; // Hide tab content | |
} | |
.tabs__content.is-active { | |
display: block; // And show only active |
OlderNewer