Is it possible to create a button or other clickable element that will look similar to a native menu on Mac?
Like this:
What kind of styling should I use?
Or maybe it is possible to invoke the native menu somehow? Is there some kind of Safari API for that?
I tried creating a normal “button” but it obviously looks different.
let helperButton = document.createElement('button');
helperButton.textContext = "Click";
1