Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to define font size in percentage according to screen resolution?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #153800
    bhaskar
    Participant

    I have converted mockups given by designers into fluid using HTML/CSS.
    Converted total design using fluid measurements, but after conversion the font size is not converted into fluid , is there any solution to convert the font size into according to screen resolution?

    #153801
    Paulie_D
    Member

    Not specifically, at the end of it all, font-size will be measured in pixels.

    A best you might be able to link font-size to the width/height of the browser but support isn’t super deep as yet.

    https://css-tricks.com/viewport-sized-typography/

    https://css-tricks.com/the-lengths-of-css/

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.