A long time ago, I once noted down some CSS code that uses Helvetica or similar typefaces if they are locally available on the respective system. Recently, I needed something comparable for code—that is, typefaces with a fixed character width. After doing some research, I came up with the following code.

font-family: ui-monospace, SFMono-Regular, "SF Mono",
             Menlo, Monaco,
             Consolas, "Cascadia Mono",
             "Liberation Mono", "DejaVu Sans Mono",
             "Courier New", monospace;

The text was automatically translated from German into English. The German quotations were also translated in sense.