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

Big O: Binary Search in Unity

The Importance of Documentation: Agile vs Waterfall

Proposal for a high-performance storage system for OSMIC branching histories

What is the difference between Amazon RDS Read Replicas vs Multi AZ

Kubernetes: the story of innovation

Fall Once and Think Twice Before Using Web Frameworks

Get to know Flexport Engineering: Bookings Team

Beam: Database Power without Template Haskell!

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

CodeIgniter 4 Query Builder set() function with update()

How to Create Absolutely Awesome Custom Code Snippets in VSCode

How to open VSCode from Terminal in MacOS

Building animated sidebar on Wordpress without external plugins