The behaviour of css overflow is so fucking stupid

This commit is contained in:
Eclypsed
2024-01-29 01:54:21 -05:00
parent 5bd5b603b0
commit 4ae54aa14c
3 changed files with 83 additions and 39 deletions

View File

@@ -1,2 +1,7 @@
<h1>Welcome to SvelteKit</h1>
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
<div id="test-box" class="h-[200vh]"></div>
<style>
#test-box {
background: linear-gradient(to bottom, white, black);
}
</style>