You can't do it using CSS alone.
Here is a workaround Generic Zigbee Motion Sensor F Temp 2 Decimal places - #7 by aaiyar?
Guess you could but it's probably quite cumbersome as you'll need to use a rule to pull the temp into the virtual device, no?