migrate from https://github.com/fatbigbright/HTMLCSS