element width by 2 (doubling its width) and reduce its height by 0.5 (reducing by half). The uppercase and lowercase will uppercase and lowercase text respectively, whereas capitalize utility will convert text to title-case. ScaleX() resizes an element along its x-axis (horizontally) and scaleY() along its y-axis (vertically).įor example, lets scale the. The scale() function is a shorthand for scaleX() and scaleY(). perspective(): sets the depth used in 3D transforms.translate(): repositions an element in a horizontal or vertical direction.rotate(): rotates an element clockwise from its current position.Grâce à cette propriété, il est possible de translater les éléments, de les tourner, dappliquer des homothéties, de les distordre pour en changer la perspective.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |