Reimplementing CSS framework