Categories
Tips

HTML’s forgotten native accordion: styling the details/summary element

As frontend developers or designers, many times we’re requierd to design or implement accordion-style components. While there are plenty of libraries out there, the easiest way to accomplish the same results without adding bloat is to use the details HTML element.

Categories
Tips

How to maintain the aspect ratio of an element with CSS

Still an experimental feature, but soon we will be able to set an aspect ratio to any HTML element via CSS, without any padding hacks!

Categories
CSS

Performance and text-rendering: optimizeLegibility

Mat Marquis warns on the performance impact of the CSS property text-rendering: optimizeLegibility, on this great article: text-rendering: optimizeLegibility is Decadent and Depraved

Categories
Blog

Detectar soporte HTML5 con Modernizr

Modernizr es una biblioteca de funciones que permite detectar el soporte nativo de nuevas y futuras tecnologías en los navegadores web. Dichas tecnologías son implementaciones de las especificaciones de HTML5 y CSS3. El principal objetivo de Modernizr es proveer una forma confiable de detectar estas implementaciones, para poder sacar provecho de los navegadores o bien […]