How to use css transform-style attribute

藏色散人
Release: 2019-05-30 09:35:37
Original
3155 people have browsed it

css The transform-style attribute specifies how to render nested elements in 3D space. Its syntax is transform-style: flat|preserve-3d; this attribute must be used together with the transform attribute.

How to use css transform-style attribute

#How to use the css transform-style attribute?

Function: The transform-style attribute specifies how to render nested elements in 3D space.

Syntax:

transform-style: flat|preserve-3d
Copy after login

Description:

flat Child elements will not retain their 3D position.

preserve-3d Child elements will retain their 3D position.

Note:

This attribute must be used together with the transform attribute.

css transform-style property usage example

    
HELLO
YELLOW
Copy after login

Effect output:

How to use css transform-style attribute

The above is the detailed content of How to use css transform-style attribute. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!