📜  为什么我们在 css 代码示例中翻译 -50%、-50%

📅  最后修改于: 2022-03-11 14:47:44.103000             🧑  作者: Mango

代码示例1
The translate is a property in css which allows to
reposition of a element horizontally or vertically.

'By Giving -50% to x and -50% to y axis. The element changes its position
'to its center axis of the parent element.