CSS adapting