CSS: translate()
на сайте с May 12, 2023 17:28
The translate() CSS function repositions an element in the horizontal and/or vertical directions. Its result is a data type. The ordinate (vertical, y-coordinate) of the translating vector will be set to 0. For example, translate(2px) is equivalent to translate(2px, 0). A percentage value refers to the width of the reference box defined by the transform-box property.