I have a website that I am building for school and I wanted to spice it up a little! So I added a effect where objects stack on top of each other. Which works great, but if the content is larger than 100vh than its cutoff, the only way to make the objects set to the screen is to have the height fixed. Would adding break points solve this problem to dynamically change the font size? Thanks!
You can't acsess the content on smaller screens because it gets cut off. In this image then content is cutoff.
height: 100vh;
width: 100%;
position: sticky;
top: 0;
background-color: #e6e6e6;
scroll-snap-align: start;
This code is all that drives the effect.