Better Monospace

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. ...

January 20, 2026 · 1 min · 86 words

Edit images with CSS (currently only Webkit)

CSS3 Filters: Altering HTML and Images with just CSS → CSS3 Filters are a quite interesting offshoot from SVG, allowing you to modify HTML elements and images with blurs, brightness and a lot more. In this quick tutorial we’ll go over exactly how they’re going to work. Black-and-white and blur filters should definitely be added to the HTML5 standard. They would make it possible to create some really great effects. ...

July 8, 2012 · 1 min · 90 words