Posts tagged Mixins

I first wrote this article two years ago. Time flies! I’ve completely rewritten and updated this article about custom tooltips. They are a very common user interface element and I’ve used them in large number of my projects. In this article I’m going to make custom CSS

With the recent 3.3 version of Sass a new data type is available, maps. A map is a data structure which associate a key to a value. It’s somewhat equivalent to JSON structures in JavaScript. And maps are a well-known data structure in functional programming.

The map data

These days I’ve been using a lot the possibility to draw triangles and arrows with pure CSS elements. I use them for small user interface elements: breadcrumbs, previous pages and next pages buttons, arrows on custom tooltips.

Drawing triangles in CSS

With this possibility we can draw elements which