math-style
Baseline 2023Newly available
Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
La propriété math-style
détermine si les équations MathML devraient être affichées en hauteur normale ou compacte.
Syntaxe
css
/* Valeurs avec un mot-clé */
math-style: normal;
math-style: compact;
/* Valeurs globales */
math-sytle: inherit;
math-style: initial;
math-style: revert;
math-style: unset;
Valeurs
Définition formelle
Valeur initiale | normal |
---|---|
Applicabilité | tous les éléments |
Héritée | oui |
Valeur calculée | comme spécifié |
Type d'animation | Not animatable |
Syntaxe formelle
math-style =
normal |
compact
Exemple
CSS
css
math {
math-style: compact;
}
Spécifications
Specification |
---|
MathML Core # the-math-style-property |
Compatibilité des navigateurs
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
math-style |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.