View
Posted about 3 years ago by Henning Koch.

This card existed before, but was outdated due to browser implementation changes. The information below is validated for the current...

Posted about 6 years ago by Dominik Schöler.

Authentication is hard: there are many edge cases, and most users (including yourself) usually only go the "happy path" once...

Posted about 1 year ago by Dominik Schöler. caniuse.com

There is a kinda secret, yet well supported CSS feature called currentColor. It's like a special CSS variable that...

Posted over 3 years ago by Dominik Schöler. github.com

Since images are magnitudes larger in file size than text (HTML, CSS, Javascript) is, loading the images of a large...

Posted about 4 years ago by Arne Hartherz. plugins.jetbrains.com

There are times when you have a chunk of text that you want to do something with, e.g. replace something...

Posted about 1 year ago by Arne Hartherz. github.com

Using the JS fullscreen API is painful because all browers use different methods and events and you need to use...

Posted about 7 years ago by Tobias Kraze.

When you work with a Rails 3.1+ application, you will be working with the asset pipeline. The asset pipeline is...

Posted over 4 years ago by Henning Koch.

This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...

Posted over 3 years ago by Henning Koch.

Redirect responses to PATCH and DELETE requests will be followed with PATCH or DELETE. Redirect responses to GET and POST...

Posted almost 9 years ago by Arne Hartherz. morris-photographics.com

Some browsers render PNG images with color profiles and other shenanigans, some don't. Remove some PNG chunks to render...

Posted about 1 year ago by Henning Koch.

Webpacker uses Babel and Webpack to transpile modern JavaScript down to EcmaScript 5. Depending on what browser a project needs...

Posted about 1 year ago by Henning Koch. developer.mozilla.org

Touch devices have their own set of events like touchstart or touchmove. Because mobile browsers should also work with with...

Posted almost 9 years ago by Thomas Eisenbarth.

To return non-HTML responses (like XLS spreadsheets), we usually use the respond_to do |format| format.xls do # send spreadsheet...

Posted about 1 year ago by Dominik Schöler. hackernoon.com

CSS Flexbox has become extremely popular amongst front-end developers the last couple of years. This isn’t surprising, as...

Posted about 1 year ago by Arne Hartherz. jsfiddle.net

When you need test images, instead of using services like lorempixel or placehold.it you may generate test images yourself. You...

Posted about 1 year ago by Arne Hartherz.

For applications coming with lots of stylesheets and scripts, asset compilation might take quite long. This can be annoying when...

Posted about 8 years ago by Henning Koch.

When storing floating-point numbers such as prices or totals in an SQL database, always use a DECIMAL column. Never...

Posted almost 5 years ago by Dominik Schöler.

Be careful to name any file @imported by SASS with a leading underscore. SASS files not beginning with an underscore...

This website uses cookies to improve usability and analyze traffic.
Accept or learn more