Submitted
Article Preview Component
- HTML
- CSS
- JS
Got the buttons to do what I wanted to, but ended up making two separate containers to hold mobile and desktop layouts and hide them from respective viewports. There must be an easier way to do this, but this is what I came up with. Any comments or feedback is appreciated! Thanks!