Open Source Spotlight: Milligram - A minimalist CSS framework

This week the spotlight is on Milligram, which was created by CJ Patoilo.

Milligram is a super lightweight CSS framework, only weighing in around 2KB when minified and gzipped. It's pretty detailed for such a minimalist UI library and it has a surprisingly large following. Milligram does not have many custom components or dynamic features like you'll find in huge CSS Frameworks. The framework is geared towards developers who want to build elegant layouts quickly--without needing more advanced features.

By default Milligram is built on Normalize so you'll need to include this library too. There's a handy getting started guide on the Milligram homepage that can help you get moving quickly.

Milligram uses the free Roboto font hosted by Google for all its typography. You can use Milligram without Roboto but you won't get the same sleek font designs. It also comes with default formatting for all the basic page elements:

  • Headers & paragraphs
  • Ordered & unordered lists
  • Blockquotes
  • Tables
  • Form fields
  • Images with captions
  • And quite a bit more!

You can install this using any of the major package managers like Yarn, Bower, or npm. It comes packaged with a minified version of the entire Milligram CSS library.

Take a peek at the Milligram homepage to find source code samples and to grab the CDN links. I would love for you to contribute to Milligram and help us make this even better! Start by reading the contribution document on Github. It's not difficult as you might have imagined to contribute!

$ tail /dev/random

# it's not news, but it is newsworthy

Alda - A music composition language with a functional backbone

On the idiosyncrasies of space characters in UTF, as focused on by Og(h)am. The video host forgets a few other special characters, though.

33 concepts every JavaScript developer should know - an open source collection of JS code examples, including video and written tutorials

CSS Layout cookbook - Mozilla shows common layout patterns and how to follow best practices when solving common web layout problems.

The Conscience of a Hacker - AKA The Hacker's Manifesto, this piece was published in 1986 in Phrack Magazine, after the arrest of its author Loyd The Mentor Blankenship. This manifesto served as an ethical guide for multiple generations of hackers. The manifesto is worth the very short read as it gives deep insight into the development culture that has grown out of that hacker community.