Open danidls99 opened 6 years ago
When I use the property, transform: scaleX, I noticed that the shape increases in length from the center of the shape. Is there a way to increase the length from just one side? Like the following gif? (not necessarily with the different colors)
thanks!
You might want to try applying the transform-origin CSS property. It changes the anchor point for the element. In your case it can be left center.
transform-origin
left center
When I use the property, transform: scaleX, I noticed that the shape increases in length from the center of the shape. Is there a way to increase the length from just one side? Like the following gif? (not necessarily with the different colors)
thanks!