VOOZH about

URL: https://www.geeksforgeeks.org/css/css-backface-visibility-property/

⇱ CSS backface-visibility Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

CSS backface-visibility Property

Last Updated : 23 Aug, 2024

The backface-visibility Property decides whether the back face of an element might be visible or not to the user. It is a mirror image of the front face that is being displayed as a back face of an element to the user. It is useful when an element is rotated then it decides whether the back face of an element is visible or not. 

Syntax:

backface-visibility: visible|hidden|initial|inherit;

Property:

  • visible: It is the default value. The back face of an element is visible when facing the user.
  • hidden: This property values specifies the back face of an element is hidden when facing the user.
  • initial: It sets the property to its default value.

Example: In this example, we are using the backface-visibility: visible property.

Output:

👁 Image

Example: In this example, we are using backface-visibility: hidden property.

Output:

👁 Image

Example: In this example, we are using backface-visibility: initial property.

Output:

👁 Image

Supported browser: The browser supported by backface-visibility Property are listed below:

  • Google Chrome 36.0
  • Edge 12.0
  • Internet Explorer 10.0
  • Firefox 16.0
  • Opera 23.0
  • Safari 15.4
Comment