How to add both an underline and an overline to your text (and in different colors) with HTML and CSS

If you’re here, you probably have the niche need to add not only an underline to your text with HTML and CSS, but also an overline (which, like the name implies, is basically the underline but over the text).

CSS

--

--

--

Full-time software engineer since 2016. UCLA Computer Science B.S. with Atmospheric and Oceanic Sciences minor. Follow me for software engineering tips!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

BENEFITS OF PARTICIPATING IN KEPLERSWAP

Improve Your Coding Efficiency Immediately

Semantics, Semantics, and Semantics

Earn Chia Cryptocurrency with your Synology NAS: A Step-by-step Guide

[Update]ForthBox NFTs Gallery

Why we re-branded to Goracle

Further Filtering

tmux, oh-my-zsh and aliases: 3 tips to suck less at Unix terminal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tremaine Eto

Tremaine Eto

Full-time software engineer since 2016. UCLA Computer Science B.S. with Atmospheric and Oceanic Sciences minor. Follow me for software engineering tips!

More from Medium

How to Choose a Programming Language for Your Application

Import SQL Files to MySQL Database Using Command Line Interface

Copy webpage tables to Excel without changing their formatting

Copy webpage tables to Excel without changing their formatting

Context is a powerful tool

Bonding moment — two birds place their heads on top of each other