![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
A scale transform the element by using x-axis with CSS3
The scaleX(x) method is used to scale transform the element using x-axis.
Let us see the syntax −
scaleX(x)
Here, x is a number representing the scaling factor to apply on the abscissa of each point of the element.
Let us see an example −
div { width: 60px; height: 60px; background-color: yellow; } .scaled { transform: scaleX(0.5); background-color: black; }
Advertisements