You can do superscript with vertical-align: super
, (plus an accompanying font-size
reduction).
However, be sure to read the other answers here, particularly those by paulmurray and cletus, for useful information.
More Related Contents:
- How to remove the spaces between the form and the footer as shown below in the picture?
- Transitions on the CSS display property
- CSS scoped custom property ignored when used to calculate variable in outer scope
- Select elements by attribute in CSS
- Hide text node in element, but not children
- Font Awesome 5, why is CSS content not showing?
- How and where to use ::ng-deep?
- What is the best way to conditionally apply a class?
- CSS transparent curved shape with two rounded sides
- Is the CSS :not() selector supposed to work with distant descendants?
- How to animate handwriting text on the web page using SVG?
- What’s the difference between CSS classes .foo.bar (without space) and .foo .bar (with space) [duplicate]
- CSS transition shorthand with multiple properties?
- What is the difference between background and background-color
- CSS blur on background image but not on content [duplicate]
- Why can’t I animate custom properties (aka CSS variables)?
- How to make this Header/Content/Footer layout using CSS?
- text-overflow ellipsis on flex child not working [duplicate]
- Make HTML5 video poster be same size as video itself
- css text gradient
- Flip a 3D card with CSS
- Is this possible to create 2-axis 4 color gradient in css (bilinear gradient)?
- Can I have different colored left and top borders in CSS?
- Difference between flex-end and end? [duplicate]
- CSS text align justify big spaces
- Why box-sizing is not working with width/height attribute on canvas element?
- CSS: transform: translate(-50%, -50%) makes texts blurry [duplicate]
- CSS: Left, Center, & Right Align Text on Same Line
- Row Wrap in flex-box not wrapping in Safari
- minmax fails (invalid property value)