Add `toCss` method

@kevinsawicki I'm not sure what to call this method. `toCss` seemed pretty good, but I'm open to anything else.