The following CSS will create space between lines:

p{
    line-height: 2.7;
}

You can use any numbers to specify the line-height depending on your font. But normally we use “1.7”

You can also specify the line-height with “px, em, cm, %” etc. For example:

p{
    line-height: 30px;
}
p{
    line-height: 2em;
}

Create Space Between Paragraphs

You have to use the margin property to create space between paragraphs. See the following example:

p{
    margin-bottom: 60px;
}

This code will create the bottom margin of the paragraphs by 60 pixels. If you need to create space both at the top & bottom of the paragraphs, then use the following CSS:

p{
    margin: 60px 0;
}

This code will create a 60 pixels margin both at the top & bottom of the paragraphs.

Learn & practice CSS with real-world examples
Learn basic CSS from the ground up.
Build real projects in HTML CSS.
Make your hands dirty

Build HTML CSS projects

About us templatePreview
Team pagePreview
Testimonial pagePreview
Testimonial sliderPreview
Contact pagePreview
Multipage websitePreview
Portfolio websitePreview
Animated portfolioPreview
Computer science portfolioPreview
Navigation bar (without JS)N/A
Create a hamburger menuPreview
Create a navigation menu in two waysN/A
Footer templatesPreview
Hero bannerPreview
Background sliderPreview
Card templates (HTML, CSS)Preview
Animated cardsPreview
Three-column layout templatePreview
Two column layoutPreview
Breadcrumb navigationN/A
Progress bar templatePreview
Thank you pagePreview
Resume templatePreview