🔥 $100K Hit! Where Will Bitcoin Go Next? Find Out Live!

Code has been added to clipboard!

The CSS Backface-Visibility Property

Reading time 1 min
Published Aug 8, 2017
Updated Oct 1, 2019

What does backface visibility mean?

The CSS backface-visibility property is used to define if the backface of the element should be visible to the user when it's not facing the screen:

Example
.nobackface {
    -webkit-backface-visibility: hidden; /* Opera, Chrome, Safari */
    backface-visibility: hidden;
}

You should use this property when you need to be able to rotate an element, but you want its back to stay invisible. As 2D elements have no perspective and thus cannot be rotated, CSS backface-visibility only works on 3D elements.

DataCamp
Pros
  • Easy to use with a learn-by-doing approach
  • Offers quality content
  • Gamified in-browser coding experience
  • The price matches the quality
  • Suitable for learners ranging from beginner to advanced
Main Features
  • Free certificates of completion
  • Focused on data science skills
  • Flexible learning timetable
Udacity
Pros
  • Simplistic design (no unnecessary information)
  • High-quality courses (even the free ones)
  • Variety of features
Main Features
  • Nanodegree programs
  • Suitable for enterprises
  • Paid Certificates of completion
edX
Pros
  • A wide range of learning programs
  • University-level courses
  • Easy to navigate
  • Verified certificates
  • Free learning track available
Main Features
  • University-level courses
  • Suitable for enterprises
  • Verified certificates of completion

Syntax for backface-visibility

The syntax for the CSS backface-visibility property is simple:

backface-visibility: value;

There are two options you can use with this property:

  • visible will provide the element in CSS backface visibility, i.e. the back will be visible
  • hidden will not provide the element in CSS backface visibility, i.e. the back will be hidden

Browser support

Browser image
Chrome
36+
Browser image
Edge
12+
Browser image
Firefox
16+
Browser image
IE
10+
Browser image
Opera
23+
Browser image
Safari
5.1+

Mobile browser support

Browser image
Chrome
36+
Browser image
Firefox
16+
Browser image
Opera
24+
Browser image
Safari
5+