new css and html with transitions