convert native CSS into normal dreem units