0

-1px is not correct why

2nd May 2020, 2:17 PM
Shakambhar pujari
Shakambhar pujari - avatar
3 Respuestas
+ 8
Pixels for text can never be expressed as a negative of any number.that's why -1px is incorrect.
2nd May 2020, 2:19 PM
Rimjhim
Rimjhim - avatar
+ 3
Negative values in pixels can work on margin or translate. A text can never be in negative, so it will not work that is obvious.
2nd May 2020, 2:27 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 2
Well I use pixels as negative and that helps object to translateY to the top like -50 px or -100px otherwise they would stay in center
2nd May 2020, 2:22 PM
Abhay
Abhay - avatar