So you want to use object-fit, but you also need to support Internet Explorer. One option is to use...

makandra dev
css-tricks.com

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...

jqueryui.com

UI sortable helps reordering items with drag 'n drop. It works quite fine. Proven configuration for sorting table rows

makandra dev
thecssninja.com

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...

guides.rubyonrails.org

ActiveRecord offers an explain method similar to using EXPLAIN SQL statements on the database. However, this approach will explain all...

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...

github.com

Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation

makandra dev
github.com

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...

cssfontstack.com

Web safe fonts are fonts that are pre-installed by many operating systems. While not all systems have the same...

keycdn.com

Table of contents of the linked article: What are Web Fonts? Advantages of Web Fonts Disadvantages of Web Fonts

makandra dev
github.com

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...

makandra dev
csstriggers.com

I figure we needed a definitive reference for what work is triggered by changing various CSS properties. It's something...

As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...

makandra dev
developer.chrome.com

In the DevTools settings, there's a "Shortcuts" section. Found these keyboard shortcuts there: General ESC Toggle drawer

stackoverflow.com

With ngAnimate, you can easily animate certain events (see directive support). We'll make use of ngClass animations to style...