FullPage Scroll은 나쁩니다. && 이거 솔직히 추가해줘야한다고 봄

This commit is contained in:
imnyang 2025-05-02 22:55:46 +09:00
commit 296439b044
13 changed files with 69 additions and 72 deletions

View file

@ -1,21 +1,13 @@
@import "../styles/globals.css";
#fullpage {
scroll-snap-type: y mandatory;
overflow-y: scroll;
height: 100vh;
}
.section {
scroll-snap-align: start;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
@apply py-16 border-b-1 border-muted;
}
@layer base {
body {
@apply min-h-screen m-0 p-0 overflow-hidden;
html,
body,
#root {
@apply h-full m-0 p-0;
}
}
}