'How can I show a new component when the resolution is phone?
I'm working on a foreign website and I'm happy with my result in the PC view but I would like the buttons to be changed to a selector on the phone
please help i'm a bit desperate
Solution 1:[1]
You can use the responsive property(means media queries). You can refer to this article Sofia. https://www.w3schools.com/css/css_rwd_mediaqueries.asp As for particular width, you can specify properties. Here width is defined for phones and desktops. As for a particular media query you can set style to be none in which you don't want to show that block and then you can do vice versa.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Kameron |
