Awesome CSS shorthand tricks to write less code
As a front-end developer, we all want is write less CSS code and get more while designing a web application. If you’re someone who is curious about CSS tricks to write less code, then keep reading this article because, I'm share 11 awesome CSS shorthand tricks that help us write less and more optimized & maintainable code. CSS inset property The inset property is the shorthand property for top, right, left & bottom property. Traditional way: .container { position: absolute; top: 10px; right: 0; left: 0; bottom: 10px; } Less code with shorthand property

As a front-end developer, we all want is write less CSS code and get more while designing a web application.
If you’re someone who is curious about CSS tricks to write less code, then keep reading this article because, I'm share 11 awesome CSS shorthand tricks that help us write less and more optimized & maintainable code.
CSS inset property
The inset property is the shorthand property for top, right, left & bottom property.
Traditional way:
.container {
position: absolute;
top: 10px;
right: 0;
left: 0;
bottom: 10px;
}
Less code with shorthand property