Agreeing with @MPortman's suggestion, it is beneficial to have a clear concept from the beginning;
To achieve this, I recommend utilizing CSS Media Queries.
An easy approach is to simply use display:none starting from a specific width.
The web inspector can provide insight into "common breakpoints," but it is not necessary to target @media rules at specific devices; instead, focus on your desktop browser window and observe the natural breakpoints for your content.
Media queries are effective in creating responsive pages, allowing you to hide or show elements based on the device's width (e.g., mobile/desktop).
You can establish both a minimum and maximum width using media queries.
For instance:
/* If the screen size is between 768px and 900px (inclusive), hide the element */
@media screen and (min-width: 768px) and (max-width: 900px) {
div.example {
display:none
}
}
This code snippet will hide the element on screens larger than 768px up to 900px.