Pages Tagged “CSS”
Tech Tips
- Auto-Switching a Website to Dark Mode You can easily tell your site to use darker colors when a visitor is using a dark theme by using CSS media queries.
- CSS Outlines What makes Outline different from Border.
- Mobile Web Layouts vs. the Viewport Mobile web browsers now use a larger virtual screen to provide an imitation desktop experience - even if you’ve provided a better one tailored for small screens.
- Pure CSS Buttons As part of a minor site optimizing kick, I replaced the validation labels with something smaller, less obtrusive, and directly on the page. I tried to duplicate the look of the classic antipixel-style buttons in CSS.
- Readable Email and Web Pages It’s 2024. If you’re still designing websites or email like you would design an 8.5x11" promotional hand-out on a sheet of paper, you really haven’t been paying attention to how people use the internet over the past decade.
- Web Font Downloaded Twice When Preloading Weirdly enough, you need to add a ‘crossorigin’ property even if the font file is on the same site.
Blog Posts
- The Web Was Responsive From The Start
I’ve been meaning to write a post about email newsletters that still assume you’re reading on a desktop and send out layouts that rely on a wide screen size and end up with tiny 2-point type on a mobile phone — you know, where most people read their email these days. Then I stumbled on […]
- Webkit display:table-cell Problem
Bug: I wanted to retrofit an old table layout with CSS to help out iPhone & Android users, but WebKit only applies block style to some table elements.
- Advantages of standards-based design: Compatibility
Microsoft is really pushing for people to make sure their websites and apps are compatible with IE7. Apparently this is a real concern for a lot of people who relied on certain proprietary features, bugs, and quirks in IE6. I guess they figured they wouldn’t have to worry about future versions. (Hmm… I wonder where […]
- Trusted Site, Untrusted Browser
I installed the just-released Netscape 8 Beta. It imported most of my settings from Firefox, including bookmarks, cookies and even history. One of the first things I always check with a new browser is how it identifies itself, which in this case is as Firefox 0.9.6. (Presumably they’ll get on this by the time the […]