View
Posted over 2 years ago by Tobias Kraze.

Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...

Posted over 2 years ago by Arne Hartherz. plnkr.co

Flexbox is awesome. Most of it even works in IE11, but flex: 1 won't work reliably in Internet Explorer...

Posted over 2 years ago by Dominik Schöler.

Google Chrome has a subtle rendering bug that hits me once in a while. It usually occurs in sliders with...

Posted over 2 years ago by Dominik Schöler.

As a web developer, you know Google Analytics (GA). Probably you've dropped the GA snippet into more than one...

Posted almost 3 years ago by Dominik Schöler. caniuse.com

Since late 2015, all major browsers (still excluding Firefox) support pointing device media queries. These can be used to distinguish...

Posted almost 3 years ago by Dominik Schöler. developer.mozilla.org

Here is how to model basic logic in media queries. AND With keyword and. # Target viewport widths between 500 and...

Posted almost 3 years 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 8 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 almost 3 years 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 3 years ago by Henning Koch. makandracards.com

In Spreewald 1.10.4+, nested patiently blocks are now patient. Here is an example: patiently do outer_code patiently do

Posted about 5 years ago by Henning Koch.

There are a million ways to center s or text in CSS, horizontally or vertically. All the ways are unsatisfying...

Posted about 3 years ago by Emanuel De.

This cucumber step is useful for testing an image (looking at the src of the image). Then(/^I should see...

Posted over 7 years ago by Tobias Kraze.

Using CSS sprites for background images is a technique for optimizing page load time by combining smaller images into a...

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

wrap the text with a span use line-height for the spacing between lines ("margin")

Posted over 3 years ago by Arne Hartherz.

When you print (or print preview) and elements are cut off (e.g. after 1st page, or "randomly") you should check...

Posted over 8 years ago by Ulrich Berkmueller. github.com

Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...

Posted over 5 years ago by Dominik Schöler. devdocs.io

All browsers + IE9 know the CSS :empty selector. It lets you hide an element when it has no content, i.e...

Posted over 3 years ago by Michael Leimstädtner.

If you are using PDFKit / wkhtmltopdf, you might as well want to use custom fonts in your stylesheets. Usually this...

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