Search within TutorialsPark

CSS direction Property


To define the direction of the text


Definition and Notes.

1. The CSS direction property is used specify the base writing direction of the block or elements.

2. It affects the way a number of decision are taken, including the placement of table cells in a table row


Syntax:

CSS direction property. internetexplorer safari firefox opera chrome

View in Splitscreen»

Code-Editor:



Property Values

Value Description
flat Applies 3D transform only on 2D plane. Its the default
preserve-3d Applies 3D transform in 3D plane, creating an illusion of depth.

Specifications

Specs Value
Name transform-style
Value flat | preserve
Initial Value flat
Applies to Block and inline-level Elements
Javascript syntax object.style.transformStyle="preserve-3d"
Inherited No
Computed Value Same as declared Value
Browser Support internetexplorer safari firefox opera chrome

Related Examples.