View
Posted over 5 years ago by Arne Hartherz.

iPads will not trigger click events for all elements. You can fix that, but you don't want to know...

Posted over 5 years ago by Henning Koch.

This blew my mind today: 12 Little-Known CSS Facts 12 Little-Known CSS Facts (The Sequel) Please make sure...

Posted over 5 years ago by Tobias Kraze. getmdl.io

CSS (+ some Javascript) framework, implementing Google's material design for static web pages. Can be used for plain websites without...

Posted almost 6 years ago by Henning Koch.

Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...

Posted almost 6 years ago by Arne Hartherz.

Rails comes with a Rake task notes that shows code comments that start with "TODO", "FIXME", or "OPTIMIZE".

Posted almost 6 years ago by Dominik Schöler. yoyo.io

Fontawesome 4 ships with many useful CSS helper classes. Enlarge Icon Add fa-lg (133%), fa-2x, fa-3x, fa...

Posted almost 6 years ago by Henning Koch. techblog.livingsocial.com

Clever hack using data-attributes to assign labels to cells. It's still a massive duplication of code (labels), but...

Posted almost 6 years ago by Arne Hartherz.

If you want to rotate text, you can use CSS transforms in somewhat modern browsers to rotate the container element...

Posted almost 6 years ago by Arne Hartherz. w3.org

Often times you want to give a bunch of elements the same style, except for the last. For example borders...

Posted almost 6 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 over 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 about 6 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 about 6 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 about 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 about 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 about 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 over 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 over 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...

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