View
Posted 7 days ago by Dominik Schöler.

CSS selectors are a very simple tool to select elements from a Nokogiri document. However, the colon in the XML...

Posted over 2 years ago by Henning Koch.

By default, browsers will not wrap text at syllable boundaries. Text is wrapped at word boundaries only. This card explains...

Posted over 4 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 1 month ago by Henning Koch.

To make CSS rules dependent on the screen size, we use media queries: @media (max-width: 500px) { // rules for screen...

Posted almost 9 years ago by Henning Koch.

When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...

Posted over 5 years ago by Henning Koch.

Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...

Posted about 2 years ago by Natalie Krehan. developer.mozilla.org

Browsers' printing methods usually don't print background colors. In most cases this is the desired behavior, because you don...

Posted 4 months ago by Henning Koch.

You can use the CSS property mask-image to define an "alpha channel" for an element. E.g. to let an...

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

Posted over 6 years ago by Arne Hartherz. jacklmoore.com

Non-static elements will not inherit their parent's opacity in IE for no good reason. This can lead to...

Posted 5 months ago by Henning Koch.

Browsers come with a set of built-in elements like or . When we need a new component not covered by...

Posted almost 9 years ago by Henning Koch.

Detecting if a Javascript is running under Selenium WebDriver is super-painful. It's much easier to detect the current...

Posted 7 months ago by Jakob Scholz.

So I had the issue that User input (coming from many different sources and users) often contains the...

Posted over 7 years ago by Tobias Kraze.

JavaScripts and CSS should be minified for production use. In Rails 3.1+ the asset pipeline will take care of this...

Posted over 7 years ago by Tobias Kraze.

If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...

Posted 9 months ago by Emanuel De.

...designs by topic with Webframe List of explorable Bootstrap designs A checklist for design components Checklist Design Beautiful UI components, crafted by the creators of Tailwind CSS Analyzers

Posted almost 8 years ago by Arne Hartherz.

Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...

Posted about 8 years ago by Henning Koch.

If you're suffering from a huge de.yml or similiar file, cry no more. Rails lets you freely organize your...

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