Question
CSS shorthand vs longhand?
Which one better? Using shorthand like:
padding:5px 10px 15px 20px;
Or using longhand like:
padding-top:5px;
padding-right:10px;
padding-bottom:15px;
padding-left:20px;
Related to:
- performance (browser performance, filesize)
- documentation (easy maintenance by developer)
- and others
21 3996
21