diff --git a/content/css/concepts/transform-functions/terms/translate3d/translate3d.md b/content/css/concepts/transform-functions/terms/translate3d/translate3d.md new file mode 100644 index 00000000000..11ce38bb89b --- /dev/null +++ b/content/css/concepts/transform-functions/terms/translate3d/translate3d.md @@ -0,0 +1,107 @@ +--- +Title: 'translate3d()' +Description: 'it allows HTML developers to rotate, translate, scale and skew along the X,Y,and Z axes' +Subjects: + - 'Web Development' + - 'Web Design' + - 'Computer Science' +Tags: # + - 'Browser compadibility' + - 'Design' + - 'Development' +CatalogContent: + - 'learn-css' + - 'paths/Front-End Engineer Career Path +--- + +## Syntax + +```pseudo +translate3d( tx, ty, tz ) +``` +The "translate3d()" function is a inbuilt function which is used to reposition an element in 3D space: + +tx: This parameter holds the length of the translation corresponding to the x-axis. This parameter holds the value in form of number or percentage. + +ty:This parameter holds the length of translation corresponding to the y-axis. This parameter holds the value in form of number or percentage. + +tz:This parameter holds the length of translation corresponding to z-axis. This parameter holds the value in form of numbers only. + +## Example + +example 1: + + + + + + CSS translate3d() function + + + + + +

GeeksforGeeks

+

CSS translate3d() function

+ +

Original Image

+ GeeksforGeeks logo +
+ +

Translated image

+ GeeksforGeeks logo + + + + +example 2: + + + + CSS translate3d() function + + + + +

GeeksforGeeks

+

CSS translate3d() function

+ +

Original Element

+
Welcome to GeeksforGeeks
+ +

Translated Element

+
Welcome to GeeksforGeeks
+ +