+ 1
Why my transform: translate(-250px); property is not working šš??
I'm trying to solve it many times but I lost š... https://code.sololearn.com/WqIgsjXN3ImK/?ref=app
3 Answers
+ 1
Thanks all for trying to help me ... actually š
I worte the property like; transform: translateX (-250px) instead of writing transform: translateX(-250px)... That was my mistake š
+ 2
You have written translateX (-250px);
fix to translate(-250px);
+ 1
Try this - with positive values-
transform:translate(250px, 100px);
"Positive values will push an element down and to the right of its default position, while negative values will pull an element up and to the left of its default position".