scurlly
@scurllyAll solutions
- Submitted 7 months ago
Article preview component - HTML, Tailwind CSS, Javascript
- HTML
- CSS
- JS
I would like to know how to approach a design when the requirements for mobile and desktop view are different. In the above challenge the share section design for mobile and desktop are very different in terms of how they appear when the share button is clicked. As you can see in my code I have gone around this by creating seperate section for mobile and desktop and hidden them respectively. This was very tedious to do and I think there will be a much better approach to do this. It would be very helpful to receive some feedback on this. Thanks.