1. First
  2. Prev
  3. 2
  4. 4
  5. 5
  6. 6
  7. 7
  8. Next
  9. Last
  1. Do all images in CSS get downloaded?

    Do some browsers (mobile, desktop) download all linked assets in a CSS file, even when there is no matching selected element appearing on a page? For example, if you had a different large image background file on every page, would a user loading your homepage also end up loading the backgrounds for all the other pages?

  2. HTML5 vcards: markup people in microdata

    A complex template that combines microformats and microdata to markup a sample profile for a person. I use these as a reference when I want to incorporate a technique into a site–copy and paste, remove parts that are irrelevant to my current purpose. (So, yeah, the markup is overdone on purpose.)

  3. jQuery State Classes plugin

    Sometimes using JavaScript and CSS pseudo-classes to style different user interaction states is inconvenient. It can be redundant, the styles can conflict. For example, the tab on a tab widget will have normal, active, and hover states. Normal and hover can be written with CSS, but active is usually handled by JavaScript. It is sometimes appropriate to let JavaScript handle all of the states, and this plugin is a utility for that purpose.

  4. How to interpolate strings in dotLess (.NET Less CSS)

    I’ve been trying to figure out how to interpolate or concatenate strings in dotLess (the .NET port of Less CSS), since it doesn’t use the same syntax as Less.js. I finally found that formatString("string {0} and {1}", @r0, @r1) will do it. I’ve written a couple of mixins as examples.

  1. First
  2. Prev
  3. 2
  4. 4
  5. 5
  6. 6
  7. 7
  8. Next
  9. Last