This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...
Rails ships with two separate build pipelines: Sprockets ("asset pipeline") and Webpacker. Webpacker has many more moving parts, but allows...
When your code does not behave as expected, you can use a debugger statement ("breakpoint") at any point in your...
The rendered font often depends on the local font your system provides, therefore you often find a rule like below...
Occasionally, your designer will hand you designs where elements break the layout's horizontal container width, like navigation buttons of...
TL;DR: All modern browsers default to using the element as the main document viewport. In CSS, prefer to set...
Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...
Flexbox is awesome. Most of it even works in IE11, but flex: 1 won't work reliably in Internet Explorer...
Most forms have a single submit button that will save the record when pressed. Sometimes a form needs additional submit...
Google Chrome has a subtle rendering bug that hits me once in a while. It usually occurs in sliders with...
As a web developer, you know Google Analytics (GA). Probably you've dropped the GA snippet into more than one...
The 90s are calling: they want their tables back. Unfortunately, you need them all for laying out your HTML emails...
Here is how to model basic logic in media queries. AND With keyword and. # Target viewport widths between 500 and...
Since late 2015, all major browsers (still excluding Firefox) support pointing device media queries. These can be used to distinguish...
RSpec let's you chain a matcher with .or. The expectation will then pass if at least one matcher matches...
Browsers' printing methods usually don't print background colors. In most cases this is the desired behavior, because you don...
There is a kinda secret, yet well supported CSS feature called currentColor. It's like a special CSS variable that...
For outputting a given String in HTML, you mostly want to replace line breaks with or tags.
CSS Flexbox has become extremely popular amongst front-end developers the last couple of years. This isn’t surprising, as...
For applications coming with lots of stylesheets and scripts, asset compilation might take quite long. This can be annoying when...
Form fields can be rendered as noneditable by setting the disabled or the readonly attribute. Be aware of the differences...
wrap the text with a span use line-height for the spacing between lines ("margin")
When you print (or print preview) and elements are cut off (e.g. after 1st page, or "randomly") you should check...