CSS absolute measurements
-
I am almost near to complete with a score of 5 the https://ready.mobi test with my twentytwelve theme but I have this error.
MAJOR FAIL | CSS measurements | Absolute dimensions and positions in CSS directives should be avoided as they will not render correctly on all device types
CSS absolute measurements found in style.css
So if I remove all the code within this css file, the test passes.
How to fix this? They say to visit : https://mobiforge.com/design-development/fixit-measures
Basically they say to get rid of all px measurements and add em, and I guess rem is also good.
So my question to you is: how can I replace all the pixels inside this css file because I also want to get css updates on this theme?
Is there any way that you will remove px measurement in a next update and add relative measurement ?
- The topic ‘CSS absolute measurements’ is closed to new replies.