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...

Posted over 6 years ago by Dominik Schöler.

When you want the table headers to always stay around (e.g. because that table is huuuge), use the code below...

Posted almost 7 years ago by Martin Straub. stackoverflow.com

Check out the jsFiddle Demo. CSS .absoluteCenterWrapper { position: relative; /* Declare this element as the anchor point for centering */ } /* Positioning */ .absoluteCenter...

Posted about 10 years ago by Henning Koch.

The following Sass will do the trick: button, input[type="reset"], input[type="button"], input[type="submit"], input[type="file...

Posted almost 7 years ago by Martin Straub.

Ask before leaving an unsaved CKEditor Vanilla JavaScript way, but removes any other onbeforeunload handlers: $(function(){ document.body.onbeforeunload = function() { for(editorName...

Posted about 7 years ago by Henning Koch. cssdeck.com

Clever hack to allow user interaction without Javascript (by using radio buttons and selecting on :checked).

Posted about 7 years ago by Henning Koch.

Give the table a style table-layout: fixed Give the cells in the first row a width The same width...

Posted about 7 years ago by Martin Straub.

Setting the colorbox opacity by hash parameter when initializing doesn't work the way like the documentation tells you.

Posted about 7 years ago by Henning Koch.

An annoying part of using font icons is that the icons usually need to live in the DOM. This is...

Posted about 7 years ago by Martin Straub.

Ubuntu 12.04 LTS x64, Ruby 1.8.7, Rails 2.13, PDFKit 0.5.4, Phusion Passenger Apache 2 I ran into this, when I...

Posted about 7 years ago by Henning Koch. creativebloq.com

I recently created a survey asking fellow designers about the problems they faced when creating fully responsive sites. This article...

Posted over 7 years ago by Tobias Kraze.

Using text-transform: uppercase - especially on form labels - can cause you serious headaches in Selenium tests. Sometimes the web driver...

Posted over 7 years ago by Henning Koch. tjvantoll.com

Did you know you can color your line-throughs or underline, or make them wavy like spell-checkers do?

Posted over 7 years ago by Henning Koch. speakerdeck.com

Awesome slide deck about taking liberties with design requirements in order to keep the CSS simple.

Posted over 7 years ago by Henning Koch. fortawesome.github.io

A list of FontAwesome icons in the form of copyable Unicode characters or HTML entities. You might prefer to use...

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