markgoodyear / postcss-vertical-rhythm

A PostCSS plugin to create a custom vertical rhythm unit from the base font-size and line-height.
MIT License
74 stars 6 forks source link

Show/debug baseline vertical rhythm #7

Open strarsis opened 8 years ago

strarsis commented 8 years ago

compass vertical rhythm (sass) allows to show the baseline vertical rhythm (e.g. by using background images) that greatly helps verifying correct following of the rhythm: http://compass-style.org/reference/compass/typography/vertical_rhythm/#mixin-debug-vertical-alignment

Could this be added to this plugin or should this rather be the job of a separate plugin?

GesJeremie commented 8 years ago

+1

mikestopcontinues commented 8 years ago

I don't think I'd use this feature, but you could implement it using a precise repeating-linear-gradient to stripe an absolute positioned root::after.