joereynolds / joereynolds/css-refactoring-patterns

Add a pattern "Consolidate style"

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Go on about using short hand instead of long hand

i.e.

Use
```
padding: 5px 10px 5px 10px;
```
Instead of
```
padding-top: 5px;
padding-right: 10px;
padding-bottom: 5px;
padding-left: 10px;
```
Or even better
```
padding: 5px 10px;
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.