Interview Question

What is scale in CSS?

scale resizes rendered content without changing layout allocation.

💡 Concept ✅ Quick Revision 🎨 CSS

Answer

Scaling changes the rendered size of an element in one or more dimensions. • A value above one enlarges; a value between zero and one reduces. • Negative scale values also reflect the content. • Scaling does not reflow surrounding layout.

💡 Simple Example

.thumbnail:hover { transform: scale(1.05); }

⚡ Quick Revision

scale resizes rendered content without changing layout allocation.