For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/css/properties/-x-auto-font-size-preset-sizes.md.
Lynx
  • English
  • -x-auto-font-size-preset-sizes

    Description

    The -x-auto-font-size-preset-sizes property specifies an array of preset font sizes. When text auto-scaling is enabled, the most suitable font size will be selected from this array - the largest size that satisfies the width constraints.

    Examples

    Syntax

    -x-auto-font-size: true;
    -x-auto-font-size-preset-sizes: 10px 12px 15px;

    Formal definition

    Initial value[]
    Applies totext
    Inheritedno
    Animatableno

    Formal syntax

    -x-auto-font-size-preset-sizes = (<length>){3}

    Differences from the Web

    • This is a Lynx-specific property.

    Notes

    • This property is only effective when -x-auto-font-size is enabled, and it overrides the minimum and maximum font size settings in -x-auto-font-size.

    Compatibility

    LCD tables only load in the browser

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.