I have a DIV that I would like to make scrollable only on mobile and tablets. I’ve managed to disable it on desktop, but I can’t seem to enable the scroll on other breakpoints.
The div has a scrollbar on desktop but not on smaller screens.
If you mean that you want the div to not have a scrollbar but still be able to scroll the whole window then you would need to remove the bottom:0 from your first rule because that limits the height of the element to the viewport height (assuming everything else is in place correctly).
We genrally ask that posters post their code in the form of a “working page”… one that starts with <!doctype> and ends with </html> and includes enough <head> info, CSS and HTML to demonstrate the problem so we can see what you see and so others can learn from your code and experience. It would be helpful if you followed that formula and included the HTML so others can learn from the issue.