…that stays on the boundaries of the website background when scrolling down, similar to this example:
I would appreciate a little help. I have tried with this code but it creates a border thats always visible (on the top, left and right side…not on the bottom for whatever reason) no matter if I scroll or not:
<style>
body {
background-color: #ffffff;
margin: 0;
padding: 0;
border: 10px solid #ff0000;
}
@media screen and (max-width: 768px) {
body {
border-width: 5px; /* Adjust the border width for smaller screens */
}
}
</style>
Thanks a lot!