The scale() function resizes an element by increasing or decreasing its width and height. ✅ Syntax: css
Copy
Edit
.element { transform: scale(1.5); /* 1.5x larger */
}
✅ Usage: scale(2) → Doubles the size scale(0.5) → Shrinks to half scale(1.5, 2) → Scales width 1.5x, height 2x ✅ Example: css
Copy
Edit
.element:hover { transform: scale(1.2); transition: 0.3s;
}
🚀 Tip: Combine with rotate(), translate(), and skew() for dynamic effects! #CSS #Scale #Transform #WebDesign