Category: CSS

Everything I know about CSS Variables Custom Properties

Brain dump about CSS Custom Properties, AKA CSS Variables They are not variables They are actually called CSS custom properties. Huh. We’ll refer to them as variables for brevity. Declaring variables To declare new variables, you just add a new property that begins with –, inside a ruleset: What is :root? If you notice, in the previous example, in the previous MDN link and other tutorials, you’ll see that variables are declared inside a :root, instead of html {…}, body{…} or whatever. According to MDN, :root is a pseudo-class that matches the root of the tree representing the document. In […]

Read entry

HTML0 – A starting point for front-end design

My last post was about front-end design workflow. Since then I got to think that others might benefit from it in a more concrete way. So here it is, I put everything I use to kickstart a new HTML design project. For lack of time and creativity I named it HTML0. Its main parts are Browsersync + Sass, with a couple of Sass helpers I use frequently. Any feedback is welcome :) Fork HTML0 on GitHub.

Read entry

Legibilidad en los medios online

Cada vez utilizo menos el RSS para leer noticias, y en cambio recibo lo más importante y/o lo urgente vía twitter. Esto me ha hecho visitar directamente los portales de noticias locales. Sin mucho análisis se puede ver que la mayoría de los medios de comunicación online uruguayos tienen problemas de legibilidad [1]. Algunos bastante graves, a pesar de que debería importarles mucho cómo se lee su contenido. Ya se, “la semana que viene lanzamos un rediseño”, “una nueva versión del sitio nuevo está en desarrollo”, y muchos más. Sin embargo, pasan semanas y nunca se actualizan. O peor, las nuevas […]

Read entry