Working prototype for Lychee like image grid

This commit is contained in:
Michał Gdula 2023-04-22 19:58:10 +00:00
parent 85d4b47760
commit 3e3598ae10
4 changed files with 77 additions and 3 deletions

View file

@ -206,6 +206,7 @@
window.onresize = () => {
keepSquare();
makeGrid();
}
window.onscroll = () => {
if (document.body.scrollTop > 300 || document.documentElement.scrollTop > 20) {