Skip to content

HTML Font Size REM Scaling #225

Discussion options

You must be logged in to vote

Hi,

Components uses rem units for size and can be override from the document.

@layer primevue {
  .p-component {
    font-size: 1rem;
    ...
  }
}

There is no typo in the documentation. In the live demo, we prefer 14px as a base.

Replies: 4 comments 3 replies

Comment options

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

Answer selected by tugcekucukoglu
Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants