GfWoBUY9Tpz9TpziGfM5BSWoTY==

What is CSS Shotband? Get to know CSS Shorthand


What are CSS Shorthands? This means it is shortening a CSS or so-called (Caschading Style Sheets) which applies a property at the same time. If the implementation of Shorthand CSS is applied, it will save energy, time and effort, plus it will make it neater too.

Writing Margin, Pedding and Outline images

Examples of margin writing can be seen in examples like the one below

margin-top:5px;
margin-right:10px;
margin-bottom:20px;
margin-left:25px;

then the Shorthand of the CSS above has meaning

margin: 5px 10px 20px 25px;

the thing to note is how to write it like clockwork up > right > down > left

One Value

margin:10px;

so when the code above is extended, the result is like this

margin-top:10px;
margin-right:10px;
margin-bottom:10px;
margin-left:10px;

That's the article that I can convey, hopefully it will make this a useful lesson for all of you. Thank you

Comments0


Dapatkan update informasi pilihan dan terhangat setiap hari dari Rafadhan Blog. Temukan kami di Telegram Channel, caranya klik DISINI

Type above and press Enter to search.