Found the culprit! It was the sneaky .star-wrapper{}...
I first display the layout blueprint to look for which element misbehave, if I cannot see the complete square shape outline of an element, it must be offscreen (overflow)...
⚠ All screen sizes are green light now. You can sleep well.
I replacing the CSS property position: absolute with position: fixed, this also fixed the <start-wrapper> element display at the full height of the viewport and when the page is scrolling down, the stars stays at the background, instead of, it disappears after scrolling down.
.star-wrapper{width:100vw;height:100vh;/* improved to fit full height, previously was 75vh */position:fixed;overflow:hidden;z-index:-1;top:0;left:0;}
Other Clean Up
set logo size
remove unwanted artifact (1px horizontal line element)
Page load in a blink of an eye! I saw the page has a horizontal overflow issue, quick and dirty fix for ya...
Hey, I don't see the horizontal overflow anywhere, what device/size are you on?
Tried to debug to minimal size, but no overflow on any of them.
I made you few screenshots for comparison (you can ignore the 4k screen size), check out the bottom of the page, the overflow scrollbar appears.
I'll help you find the culprit and the solutions.
1366px (1k screen)
1920px (2k screen)
3840px (4k ultrawide screen)
Found the culprit! It was the sneaky
.star-wrapper{}
...I first display the layout blueprint to look for which element misbehave, if I cannot see the complete square shape outline of an element, it must be offscreen (overflow)...
The cure
I replacing the CSS property
position: absolute
withposition: fixed
, this also fixed the<start-wrapper>
element display at the full height of the viewport and when the page is scrolling down, thestars
stays at the background, instead of, it disappears after scrolling down.Other Clean Up
Hey Louis,
Thanks but it was the whole idea the starts only sit on 75% of the viewport and not scroll along haha.
I find it weird it doesn't show up on chrome mac though!
Als my browser tests also didn't show hence I was just surprised.
Gonna have a look though thanks!