Teachnique
      CourseRoadmaps
      Login

      IntroductionSyntaxSelectorsInclusionMeasurement UnitsColorsBackgroundsFontsTextImagesLinksTablesBordersBorder BlockBorder InlineMarginsListsPaddingCursorOutlinesDimensionScrollbarsInline BlockDropdownsVisibilityOverflowClearfixFloatArrowsResizeQuotesOrderPositionHyphensHoverDisplayFocusZoomTranslateHeightHyphenate CharacterWidthOpacityZ-IndexBottomNavbarOverlayFormsAlignIconsImage GalleryCommentsLoadersAttr SelectorsCombinatorsRootBox ModelCountersClipWriting ModeUnicode-bidimin-contentAllInsetIsolationOverscrollJustify ItemsJustify SelfTab SizePointer EventsPlace ContentPlace ItemsPlace SelfMax Block SizeMin Block SizeMix Blend ModeMax Inline SizeMin Inline SizeOffsetAccent ColorUser Select

      GridGrid LayoutFlexboxVisibilityPositioningLayersPseudo ClassesPseudo Elements@ RulesText EffectsPaged MediaPrintingLayoutsValidationsImage SpritesImportantData Types

      TutorialRounded CornerBorder ImagesMulti BackgroundColorGradientsBox ShadowBox Decoration BreakCaret ColorText ShadowText2d transform3d transformTransitionAnimationMulti columnsBox SizingTooltipsButtonsPaginationVariablesMedia QueriesFunctionsMath FunctionsMaskingShapesStyle ImagesSpecificityCustom Properties

      IntroductionViewportGrid ViewMedia QueriesImagesVideosFrameworks

      Questions and AnswersQuick GuideReferencesColor ReferencesWeb browser ReferencesWeb safe fontsUnitsAnimation

      PX to EM converterColor Chooser & Animation

      Useful ResourcesDiscussion

      Feedback

      Submit request if you have any questions.

      Course
      3d transform

      CSS Tutorial

      This CSS tutorial is designed for beginners to navigate through the essentials and intricate aspects of CSS styling. Upon finishing this tutorial, participants will possess a comprehensive understanding of CSS, setting a solid foundation for further exploration and mastery. This guide aims to equip you with the skills necessary to transform your visions into visually appealing web designs, laying the groundwork for your journey towards becoming an accomplished web designer.

       3D Transforms

      CSS provides a set of properties that allow you to transform and adjust the elements in the three-dimensional space. The properties that let you transform the elements include 3D translations, rotations, scaling, perspective adjustments, etc.
      The following table lists all the various properties that are used to transform the elements in the three-dimensional space:
      Property
      Description
      backface-visibility
      Sets the visibility of back face of an element to the user.
      perspective
      Determines the distance between the z=0 plane and the user.
      perspective-origin
      Determines the position at which the user is looking at the 3D-positioned element.
      rotate
      Rotates an element in the three-dimensional space.
      scale
      Scales an element in the three-dimensional space.
      transform
      Transforms an element in the three-dimensional space.
      transform-style
      Sets the position of the children of an element in three-dimensional space or keeps it flattened in the plane.
      translate
      Translates an element in three-dimensional space.
      matrix3d()
      Function that defines a three-dimensional transformation as a 4x4 homogeneous matrix.
      perspective()
      Function that determines the distance between the z=0 plane and the user.
      rotate3d()
      Rotates an element around a fixed axis in three-dimensional space.
      rotateZ()
      Rotates an element around the z-axis.
      scale3d()
      Scales an element up or down in three-dimensional space.
      scaleZ()
      Scales an element up or down along the z-axis.
      translate3d()
      Translates an element in three-dimensional space.
      translateZ()
      Translates an element up or down along the z-axis.