extract styling in html into css