When exploring my codesandbox project, I encountered 2 questions:
- How can I create a custom underline CSS similar to the UI image below the file name and trash icon? I tried using
text-decoration:none
, but it doesn't match the UI. - How do I center a URL background and display only the text 'Add Image' on an input button like in the UI design? I attempted using
background-image
with a URL and applieddisplay:none
to the input field, but it didn't yield the desired result in the codesandbox.
Just a quick note: For convenience, all the code is available in the codesandbox. If you wish to test the code, please click on "Open In New Window" below the "sign in" button in the codesandbox menu.