Skip to content

HTML hr element display centered with both ends padded #12618

Answered by searchstation
rocbar asked this question in Q&A
Discussion options

You must be logged in to vote

Two reasons for this.

  1. is your hr tag inside a grid-container class. If so grid-container has padding. Experiment will adding .full or .fluid to your grid-container.

  2. hr tag I believe has a max width applied. If not inside a grid-container, try adding .full, .fluid, or .expanded to the hr tag.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rocbar
Comment options

Answer selected by rocbar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants