Drupal 7 localhost is shortening css strings
same issue, to me helps:

visit: admin/config/development/performance

turn on "CACHING" for:
 Cache pages for anonymous users

turn off all "BANDWIDTH OPTIMIZATION" 
 Compress cached pages.
 Aggregate and compress CSS files.
 Aggregate JavaScript files.

Then Clear all cahces 

That fix my issue with css ;)