@ou-imdt/css
Version:
The IMDT CSS library styles native elements with light, extendable CSS. It is developed for Interactive Media Developers at the Open University.
22 lines (15 loc) • 608 B
Markdown
# sup (Superscript)
_No custom styles currently_
Superscript is useful for formatting mathematical notation and chemical formula.
## Example
<div class="card">
<p>The <strong>Pythagorean theorem</strong> is often expressed as the following equation:</p>
<p><var>a<sup>2</sup></var> + <var>b<sup>2</sup></var> = <var>c<sup>2</sup></var></p>
</div>
<details class="compact">
<summary>HTML</summary>
```html
<p>The <strong>Pythagorean theorem</strong> is often expressed as the following equation:</p>
<p><var>a<sup>2</sup></var> + <var>b<sup>2</sup></var> = <var>c<sup>2</sup></var></p>
```
</details>