Skip to content

Commit 397c3ba

Browse files
JoeMattclaude
andcommitted
perf: remove background-attachment:fixed body gradient (scroll jank + dead code)
background-attachment:fixed disables GPU compositing, causing CPU repaints on every scroll frame. The image was also fully covered by page-level Tailwind backgrounds and served no visual purpose. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a272eb3 commit 397c3ba

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/app/globals.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,3 @@ body {
2525
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
2626
}
2727

28-
/* Site-wide background gradient image (1px-high wide banner repeated vertically) */
29-
body {
30-
background-image: url("../images/banners/blue wide banner graident 1px.png");
31-
background-repeat: repeat-y;
32-
background-size: 100% auto; /* stretch to full width, keep image height */
33-
background-attachment: fixed; /* parallax-like, reduces repaints */
34-
}

0 commit comments

Comments
 (0)