scroll + space on top

I want space on there so the color from the after shows
No description
4 Replies
R.I.P
R.I.POP3w ago
i got no idea what to do ! well it isnt after really the pink is after and the behind is the parent cause they both are fix
clevermissfox
clevermissfox3w ago
can you show your code so we know the html structure. just copied over into a codepen please
MarkBoots
MarkBoots3w ago
i also still would like to see a mockup of what the result should be. (tip: use figma to draw it)
R.I.P
R.I.POP3w ago
as u asked https://stackblitz.com/edit/stackblitz-starters-2es7cy?file=styles.css
dont add html
dont use body in css
dont change the parent position which is fixed(and i want the main color on top to stay the same too!)
dd1 and dd2 is the example
dd3 is what i want to make which is without accepting the above rules
no border suggetion
no js
and if u could please solve the 3rd one dd3 cause what to do so it would be possible to add overflow without changing the ::before
dont add html
dont use body in css
dont change the parent position which is fixed(and i want the main color on top to stay the same too!)
dd1 and dd2 is the example
dd3 is what i want to make which is without accepting the above rules
no border suggetion
no js
and if u could please solve the 3rd one dd3 cause what to do so it would be possible to add overflow without changing the ::before
RIPISDRAD
StackBlitz
Static Starter - StackBlitz
HTML/CSS/JS Starter
Want results from more Discord servers?
Add your server