View
Posted over 5 years ago by Henning Koch. tech.bellycard.com

The debate between using mixins or extends in Sass has been heating up recently. From the surface it appears they...

Posted about 9 years ago by Henning Koch.

Note: The information in this card might be outdated. The Capybara API is somewhat hard for parse for a list...

Posted over 5 years ago by Henning Koch. github.com

This jasmine plugin helps with testing DOM manipulation in two ways: It gives you DOM-related matchers like toBeVisible() or...

Posted over 5 years ago by Henning Koch.

jQuery comes with .animate() that lets you transition some CSS selectors: function floatIn($element) { $element.css({ 'opacity': 0, 'margin-top': 200px...

Posted almost 6 years ago by Arne Hartherz. github.com

Bourbon is a library of pure Sass mixins that are designed to be simple and easy to use. No configuration...

Posted almost 6 years ago by Dominik Schöler.

The benefit of the Rails asset pipeline is that it compiles your stylesheets and javascripts to a single file, respectively...

Posted almost 6 years ago by Dominik Schöler.

The Rails asset pipeline improves delivery of application assets (javascripts, stylesheets, images, fonts). Here are some basic facts about its...

Posted almost 6 years ago by Arne Hartherz. github.com

Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...

Posted almost 6 years ago by Henning Koch.

The asset pipeline changes the paths of CSS files during precompilation. This opens a world of pain when CSS files...

Posted almost 6 years ago by Henning Koch.

We upgraded a Rails 2 application to Rails 3.2 and Ruby 2.1, changed the mysql adapter from mysql to mysql2...

Posted about 6 years ago by Henning Koch. github.com

PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...

Posted about 6 years ago by Henning Koch. blog.mailgun.com

Styling HTML email is painful. Tables, inline CSS, unsupported CSS, desktop clients, web clients, mobile clients, various devices, various providers...

Posted about 6 years ago by Arne Hartherz.

When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...

Posted about 6 years ago by Arne Hartherz. plugins.jquery.com

SudoSlider is a simple yet powerful content slider that makes no (or very few) assumptions about your markup and is...

Posted over 6 years ago by Dominik Schöler.

When you cannot make Selenium trigger events you rely on (e.g. a "change" event when filling in a form field...

Posted over 6 years ago by Henning Koch.

I use this to simulate the (non-existing) :last-letter CSS pseudoclass, e. g. to insert a tombstone at the...

Posted over 6 years ago by Dominik Schöler.

The error unexpected 'x' after 'DESCENDANT_SELECTOR' (Nokogiri::CSS::SyntaxError) (where x may be basically any character) occurs when the...

Posted over 6 years ago by Arne Hartherz.

When using @media CSS queries, Internet Explorer 8 and below will fail to respect them. Though there are several options...

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