CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS perspective Property

CSS perspective Property

 

 

The perspective property is used to specify how far the object is away from the user. Therefore, we can say that a lower value will result in a more intensive 3D effect than a higher value. It is used to give a 3D-positioned element some perspective. When we define a perspective property for an element, it will impact its CHILD elements.

 

Default Value:-

 

Its default value is none.

 

Syntax:-

 

Its syntax is:- perspective: length | none;

 

Further Explanation:-

 

Property Value Description
length How far the element is placed from the view
none The perspective is not set
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS