How to use <dialog> for a modal?
Hello . I ’m trying to use as much semantic html as possible . I ’ve seen examples of using the HTML native <dialog > component to create a modal . According to mdn , the <dialog > element should not be shown by default , however , any children that I put inside the dialog are showing in the preview window . Is there some default styling that I can disable that ’s allowing this ? I personally like that for a few reasons
.jpeg/public)