The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...
Cucumber up to version 2 had a neat feature called Step Argument Transforms which was dropped in favor of Cucumber...
Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...
Webpacker can automatically create an icon font from SVG files, which is really handy. When you're using the asset...
It is quite easy to migrate from CoffeeScript to ES6. You can use decaffeinate to convert your CoffeeScript source to...
Over the years we have tried several solution to have vector icons in our applications. There are many ways to...
To keep JavaScript sources small, it can sometimes make sense to split your webpack bundles. For example, if your website...
PostCSS is a tool for transforming styles with JS plugins. In Webpacker you can configure the plugins and their settings...
This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...
Many mail clients do not support external style sheets. Some even require all styling inline, which means you'll have...
min-width is known as a CSS property that can be set to define a least width for an element...
Here is how to make Rome datepicker look like the rest of your Bootstrap 4 application. Rome comes with very...
Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...
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...
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...
Accessing pseudo elements via JavaScript or jQuery is often painful/impossible. However, accessing their styles is fairly simple. Using getComputedStyle
Scrolling overflowing elements with JavaScript HTML elements with overflow-y: auto or overflow-y: scroll will get a scrollbar when...
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...
At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...
Google Chrome has a subtle rendering bug that hits me once in a while. It usually occurs in sliders with...