Submitted
NextJS static theme toggle page.
- HTML
- CSS
- JS
Encountered a problem for doing the top-border for a div with both gradient and border-radius, instead I used a parent div with the background gradient and border radius and top-padding of border width, and inserted a div with width 100% and height 100% bottom radius for the content. Is it a good solution or could I make it simpler? Thanks!