Answers for "css superscript"

0

CSS how to style <sup>

/* Formatted from source to be a copy/pasted quickly. */

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}
Posted by: Guest on January-26-2021
0

css superscript

<!-- x2 + y2 = r2 -->
x<sup>2</sup> + y<sup>2</sup> = r<sup>2</sup>
Posted by: Guest on June-10-2021

Browse Popular Code Answers by Language