Posted over 8 years ago by Arne Hartherz.

When using Rails to truncate strings, you may end up with strings that are still too long for their container...

Posted over 8 years ago by Henning Koch. addyosmani.github.com

Twitter's Bootstrap CSS blueprint as a jQuery UI theme. Even if you don't want to use Bootstrap as...

Posted over 8 years ago by Arne Hartherz.

I have no idea how it's supposed to work (or why the don't have a print CSS), but...

Posted over 8 years ago by Henning Koch.

Firefox, Opera and Internet Explorer will repeat elements with position: fixed on every printed page (see attached example).

Posted over 8 years ago by Arne Hartherz. stackoverflow.com

Though Internet Explorer 9 supports the box-shadow CSS property there is a nasty bug which sometimes prevents it from...

Posted over 8 years ago by Henning Koch. miekd.com

A pull quote is a typographical technique in which an excerpt or quote from an article is duplicated within the...

Posted over 8 years ago by Henning Koch.

When you print out a HTML pages, all raster images (like PNGs) will appear aliased. This is because a printer...

Posted over 8 years ago by Henning Koch.

Although it's tempting flirt with detecting mobile/touch devices with CSS media queries or Javascript feature detection alone, this approach...

Posted almost 9 years ago by Ulrich Berkmueller. peter.sh

A list of CSS vendor-prefixes.

Posted almost 9 years ago by Henning Koch. developer.mozilla.org

List of non-standard CSS attributes that change how the browser resamples scaled images. Only use them if you know...

Posted almost 9 years ago by Dominik Schöler.

For university I have to stay up-to-date with lecture documents. Since my university doesn't offer RSS feeds...

Posted almost 9 years ago by Alexander Maiburg.

If you turn on stylesheet caching, it might happen that stylesheets from different locations with different relative pathes will be...

Posted almost 9 years ago by Alexander Maiburg.

If you would like to use language specific layout (e.g. background-images) in your applications stylesheets you can achieve this...

Posted almost 9 years ago by Henning Koch.

Forms with many inputs (600+ in my case) become extremely unresponsive on an iPad, up to the point where it...

Posted almost 9 years ago by Henning Koch.

If you embedded web fonts in the past years (e.g. by copying CSS from a Font Squirrel @font-face kit...

Posted almost 9 years ago by Henning Koch.

If you want to distribute a 's width equally over its columns, you can use the following CSS property:

Posted almost 9 years ago by Henning Koch.

Capybara will match elements outside of a page's tag. For example, the step definitions below match nodes in a...

Posted almost 9 years ago by Arne Hartherz. dev.opera.com

Since version 11.10 Opera provides support for linear gradients using -o-linear-gradient. The syntax is pretty similar to Mozilla...

This website uses short-lived cookies to improve usability.
Accept or learn more