Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Some questions about the style of headlines #194

@vszhub

Description

@vszhub

Here is some code from _type.scss:

h2 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

h4, h5, h6 {
  margin-top: 1rem;
  font-size: 1rem;
}

I have two questions about it:

  1. Why is the margin of h3 larger than the one of h2? Shouldn't the larger section have a larger margin?
  2. The styles of h4, h5, and h6 are the same. So how does a reader distinguish them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions