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...
We want to move away from jQuery in future projects Motivations are performance, bundle size and general trends for...
When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...
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...
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...
When you need test images, instead of using services like lorempixel or placehold.it you may generate test images yourself.