text-emphasis-position
Widely availableSince 202297% of users
Determines where emphasis marks should be placed relative to the text. They can appear above (over), below (under), or on the sides for vertical text.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since March 2022. Widely available since September 2024.
Newer parts of text-emphasis-position
overBaseline Dec 2022, Widely Jun 2025underBaseline Dec 2022, Widely Jun 2025
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- Yes
- Applies to
- all elements
- Animation type
- discrete
Quick example
span.emphasis {
text-emphasis: dot;
/* Places the emphasis dots below the text instead of above it */
text-emphasis-position: under left;
}Values
autooverunderrightlefttext-emphasis-position browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2022.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
99+
46+
7+
99+Mobile
99+Android
46+Android
7+iOS