Extracting css for device