$('#spisoc > .Content:gt(3)').hide();
.browserlistrc
.For browser- or Electron-based projects, we recommend using a .browserslistrc file to specify targets. You may already have this configuration file as it is used by many tools in the ecosystem, like autoprefixer, stylelint, eslint-plugin-compat and many others.
Скорость = screen.height / 1000; /* один экран за одну секунду */
Расстояние = body.scrollHeight; /* высота всей страницы */
Время = ?
Время = Расстояние / Скорость;
$('body').animate({scrollTop: Расстояние * -1}, Время);
screen.height - 1000
body.scrollHeight - t?
t = body.scrollHeight * 1000 / screen.height;
document.querySelector('.youtube_block_button').addEventListener('click', () => {
document.querySelector('.youtube_block').classList.add('hide_youtube_block');
sessionStorage.setItem('youtube-block', 1);
});
if (sessionStorage.getItem('youtube-block')) {
document.querySelector('.youtube_block').classList.add('hide_youtube_block');
}
для дальнейшей установки через composer?
composer require https://github.com/username/reponame.git