TLDR: When you put CSS rules into a partial and import that partial multiple times, the CSS rules will be...
A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer...
The linked article states that CSS breakpoints should group "similar" screen sizes and thus be at: 600px "narrow"
There is no CSS selector for matching elements that contains a given string ¹. Luckily, Capybara offers the :text option to...
SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...
If you need to modify (e.g. add 2px) a Sass variable that defines multiple values as one (e.g. for short...
The linked article shows what current browsers do when you click a link like this: 1-562-867-5309
When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...
...The and tags both come with some non-default behavior that you know from other tags.
All new browsers support the new object-fit CSS property. It allows to specify how an element behaves within its...
to create a Gallery that has a name and has_many :images, which in turn have a...
Sometimes you want to preload images that you will be using later. E.g. if hovering over a an area changes...
Spreewald gives you the within meta step that will constrain page inspection to a given scope. Unfortunately, this does not...
This card existed before, but was outdated due to browser implementation changes. The information below is validated for the current...
Imagine you have a list you want to render inline on large screens, but stacked on small screens. high
There are a million ways to center s or text in CSS, horizontally or vertically. All the ways are unsatisfying...
A list of surprisingly clever CSS expressions for common use cases.
Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...
CSS4 comes with :has. E.g. h1:has(b) would select all tags that contain a tag. This is implemented in...
Spreewald 1.4.0 comes with this step: When I click on the element ".sidebar" We recommend to define a selector_for...
Spreewald 1.3.0 comes with these steps: Then I should see an element ".panel" Then I should not see an element...
Web safe fonts are fonts that are pre-installed by many operating systems. While not all systems have the same...
Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...
Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...