scale3d()
scale3d()
This page has been flagged with the following issues:
High-level issues:
Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.
Examples
View live exampleThe following code snippet is an example of the scale3d function in use. When applied to a square blue div element, it has the effect illustrated in the image. (The light-blue square indicates the original position of the transformed element.)
CSS
div {
transform: scale3d(0.5, -0.5, 1.5);
}
Syntax
scale3d
(
<scaling-value-x>
,
<scaling-value-y>
,
<scaling-value-z>
)
Parameters
- scaling-value-x
- Numerical value by which to scale the specified element in the x-direction.
- scaling-value-y
- Numerical value by which to scale the specified element in the y-direction.
- scaling-value-z
- Numerical value by which to scale the specified element in the z-direction.
Standards information
- CSS Transforms Module, Level 3, Section 13.2
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? | ? |
See also
Related articles
Transforms
- scale3d()
Related pages (MSDN)
Transform FunctionsMathematical Description of Transform FunctionsDirect3D: MatricesHands On: 3-D Transforms
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here