...

/

Solution: Paragraph Rhythm Setter

Solution: Paragraph Rhythm Setter

Let’s define a CSS custom property for the rhythm unit and use it to set the line-height and bottom margin of paragraphs, ensuring uniform vertical flow.

Problem description

You have a document with multiple paragraphs. Your task is to create a CSS variable for a 1.5rem baseline rhythm and apply it to the ...