• The “Optimal Image Format” for Each Browser

    Perhaps you’ve heard about the WebP image format? And how it’s a pretty good performance win, for the browsers that support it? Well that’s only for Blink-based browsers, at the moment. Estelle Weyl’s article Image Optimization explains the best image format for each browser: Browser …

    Read More

  • Overrides

    Presentation Attributes vs Inline Styles

    This is a distinction worth knowing about. They look pretty similar. They can do some of the same things. But, one is very easy to override and the other is not. Inline styles are likely a bit more familiar: <div style=”width: 300px; height: 300px;”> Inline …

    Read More

  • Front-End Performance Checklist 2017

    Are you using progressive booting already? What about tree-shaking and code-splitting in React and Angular? Have you set up Brotli or Zopfli compression, OCSP stapling and HPACK compression? Also, how about resource hints, client hints and CSS containment — not to mention IPv6, HTTP/2 and service …

    Read More

  • An Overview of Client-Side Storage

    Ire Aderinokun: There are currently four active methods for storing data on the client side. Cookies (old school, still useful because they are sent with server requests) Local Storage (very easy to use) Session Storage (exactly the same, only clears when the tab is closed) …

    Read More

  • 20 Years of CSS

    Bert Bos, noting today as quite a notable day: On December 17, 1996, W3C published the first standard for CSS. Very interesting to see what historic points made the cut for the timeline. The Zen Garden, acid tests, preprocessors… good times! Direct Link to Article …

    Read More

  • 1*PuthyBD2JKLeDA6LYtmd2A

    Alternatives to Placeholder Text

    Improve form usability by addressing the perils of placeholders Placeholders cause problems Placeholder text can be used as an attribute for almost every HTML input type, and misguided designers and developers don’t hesitate. It is tempting to provide text help for complex forms, or omit input …

    Read More

  • Inline Is Best

    Why Inline SVG is Best SVG

    SVG is one of the most powerful tools in a front-end developer’s arsenal, and while its browser support is excellent, there’s enough rough edges that a lot of people consistently reach for an alternative such as icon fonts, static images or CSS-only drawing techniques. In …

    Read More

  • Safari Form Error

    [WebKit now has] HTML Interactive Form Validation

    Creating forms in HTML has always been complicated. You first need to write the correct markup, then you need to make sure each field has a valid value before submitting, and finally you need to inform the user when there is a problem. Thankfully, new …

    Read More

  • Resilient Web Design

    Resilient Web Design—Introduction Resilient Web Design With a title like Resilient Web Design, you might think that this is a handbook for designing robust websites. This is not a handbook. It’s more like a history book. Marshall McLuhan once said: We look at the present through a …

    Read More

  • CSS Shorthand Syntax Considered an Anti-Pattern

    12 December, 2016 There’s a very small but surprisingly significant (and even more surprisingly frequent) issue I spot a lot in other peoples’ code, either when working directly with it, refactoring it, or auditing it: the use of shorthand syntax in CSS. Typically we would …

    Read More