Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 539 Bytes

line-height-is-vertical-rhythmed.md

File metadata and controls

49 lines (37 loc) · 539 Bytes

Pattern: Use of not vertical rhythmed line-height

Issue: -

Description

Disallows not vertical rhythmed line-height.

Examples

The following pattern are considered violations:

.foo {
  line-height: 12px;
}
.foo {
  line-height: 1.3;
}
.foo {
  line-height: 50px;
}

The following patterns are not considered violations:

.foo {
  line-height: 24px;
}
.foo {
  line-height: 1.6;
}
.foo {
  line-height: 48px;
}