CSS backface-visibility Property

March 28, 2021

CSS has tons of little bombs that can literally blast the front-end. This is one of them.

As the name suggests, the backface-visibility property sets whether the back-face/back-side of the element when the element is facing the user.

Most if the time it’s useful when you are animating the element or just simply rotating the element.

The default value for CSS backface-visibility property is visible.

Just like this example:

But if you want to hide the back-side/back-face, you can set the value to hidden.

Just like this:


Most Read

#1 How to check if radio button is checked or not using JavaScript? #2 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #3 How to uninstall Cocoapods from the Mac OS? #4 How to Use SQL MAX() Function with Dates? #5 How to add Read More Read Less Button using JavaScript? #6 PHP Login System using PDO Part 1: Create User Registration Page

Recently Posted

Apr 7 Solution for “Yarn build: Failed because of a stylelint error” Apr 7 Make sure your links have descriptive text Apr 7 How to add Laravel to WordPress using Sage theme (and install Tailwind CSS)? Apr 2 How to create a sidebar using pure CSS? Apr 1 How to switch dark and light themes using pure CSS? Apr 1 How to calculate elapsed time in JavaScript?

You might also like these

How to create a sidebar using pure CSS?CSSHow to animate list items using CSS and JavaScript?CSSFull and Partial ROLLUP in Postgresql with ExamplesPostgresSolution to “TypeError: ‘x’ is not iterable” in Angular 9AngularHow to draw an SVG path on scroll using JavaScript?JavaScriptKanban vs Scrum: The two frameworks of agile principlesMiscCrypto.getRandomValues() method in JavaScriptJavaScriptHow to create rotating texts using JavaScript and CSS?CSS3 JavaScript methods to use when you want to go back and forth in historyJavaScriptUnderstand Inheritance in PHP in this Basic Example (For Beginners)PHPObservation of Human Behavior [Shopping Observation Example]MiscReverse a String in JavaScriptJavaScript