90+ CSS Text Effects (Free Code + Examples)
Enjoy this huge, 100% free and open source collection of HTML and CSS text effect code examples. The list includes typing, hover, rotating, and background text effects.
1. CSS Text Reveal

Author: Andrés Sánchez (sedran)
Links: Source Code / Demo
Created on: October 25, 2018
Made with: HTML, CSS
Tags: animation, text reveal, css, pseudo-elements, simple
2. Megaman READY!

Reproducing the famous "READY" from the Megaman games without using JavaScript. This uses CSS Grid extensively and css variables for timing.
Author: Christopher Wallis (notoriousb1t)
Links: Source Code / Demo
Created on: July 7, 2018
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: css-grid, css-properties, css-variables, megaman, no-javascript
3. Only CSS: Text Slicer Gradient

Please typing your favorite word :)
Author: Yusuke Nakaya (YusukeNakaya)
Links: Source Code / Demo
Created on: October 24, 2017
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: css, animation, transition, 3d, text
4. 3D Letters - Sugar Sweet

Author: Håvard Brynjulfsen (havardob)
Links: Source Code / Demo
Created on: April 16, 2020
Made with: HTML, SCSS
Tags: letters, 3d
5. Split CSS Text Effect With Clip-Path

I'm trying to experiment with the clip-path-property and figured I could celebrate reaching 300 followers here on CodePen at the same time. Thank you!
Author: Håvard Brynjulfsen (havardob)
Links: Source Code / Demo
Created on: May 11, 2020
Made with: HTML, SCSS
Tags: text, clip-path, followers
6. Writing Mode

Author: CSS GRID (cssgrid)
Links: Source Code / Demo
Created on: April 1, 2020
Made with: HTML, CSS
7. CSS In CSS With A Lot Of C And S

Author: Giulia Cardieri (giuliacardieri)
Links: Source Code / Demo
Created on: April 8, 2020
Made with: HTML, SCSS
8. Underline Clip Hover Animation

A fancy animated underline using text clipping. The text uses background-clip: text and a linear-gradient background to be bi-color. We get around animating the gradient by animating the background-position instead. We have to use a wrapper element for having the underline highlight under...Read More
Author: Marwan Zibaoui (RickyMarou)
Links: Source Code / Demo
Created on: February 15, 2020
Made with: HTML, CSS
Tags: underline, clip, hover, animation, text
9. Twenty Twenty & Multi-Color Gradients ❤

Multi-colour gradients clipped with CSS, blended with SVG's feGaussianBlur. Font: Modak by Ek Type (https://fonts.google.com/specimen/Modak)
Author: Leena Lavanya (leenalavanya)
Links: Source Code / Demo, Fonts.google.com
Created on: January 2, 2020
Made with: HTML, CSS
Tags: 2020, css-3, gradient, gradients, svg
10. CSS Arcade Typography Snow Bros 1990

Pixelated typeface from the arcade game Snow Bros. drawn in CSS. As seen here: https://readonlymemory.vg/shop/book/arcade-game-typography/
Author: Lynn Fisher (lynnandtonic)
Links: Source Code / Demo, Readonlymemory.vg
Created on: February 6, 2020
Made with: Pug, Stylus
CSS Pre-processor: Stylus
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: css, lettering, alphabet, typeface, illustration
11. Typo Triple CSS Text Effect

Author: creatz (creatz)
Links: Source Code / Demo
Created on: November 22, 2019
Made with: HTML, CSS
12. Layered Text-shadow Effect CSS

text-shadow is a fun little CSS style that can spark up any simple text into a beautiful work of art. yeah! I am exaggerating but text-shadow is really cool.
Author: Shireen Taj (TajShireen)
Links: Source Code / Demo
Created on: December 13, 2019
Made with: HTML, CSS
Tags: text-shadow, text-effect, css only text effect
13. SAVE!

Quirky CSS banner using box shadows
Author: Sebastian Opperman (SebastianOpperman)
Links: Source Code / Demo
Created on: July 29, 2019
Made with: HTML, SCSS
Tags: hsl, box-shadow, banner, 3d, gradient
14. Multi Line Text Fat Underline Hover

Author: Mark (markmead)
Links: Source Code / Demo
Created on: September 11, 2019
Made with: Haml, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Haml
15. Sliding Perspective

Author: Adam Dipinto (AdamDipinto)
Links: Source Code / Demo
Created on: July 17, 2019
Made with: HTML, CSS
16. Multi Line Truncation In Pure CSS

Author: Benjamin Solum (soluml)
Links: Source Code / Demo
Created on: July 18, 2019
Made with: HTML, SCSS
17. Multi-line Animated Underline Text Effects

Multi-line animated underline text effects with simple customization. Animation's settings are implemented with CSS Custom Properties so you can change values directly in the browser.
Author: Stas Melnikov (melnik909)
Links: Source Code / Demo
Created on: June 1, 2019
Made with: HTML, CSS
18. 80s Fonts Text Effect 4: Cyberspace Text

Inspired by PSDDude's 80s font collection this text effect is part of the SVG filters 80s font text effects list on
Author: Ion Emil Negoita (inegoita)
Links: Source Code / Demo
Created on: July 5, 2019
Made with: HTML, SCSS
Tags: 80s, css, svg-filter, svg-filters
19. Western Electric Big Button Phone

A recreation of the Western Electric Big Button phone produced in the 1970's. Recreated using flexbox, grid, text shadows, and text strokes. This pen encountered several CSS quirks. First, is that setting a border radius and overflow:hidden breaks anti-aliasing on the border radius, leav...Read More
Author: Alex (alexgoff)
Links: Source Code / Demo
Created on: May 15, 2019
Made with: HTML, SCSS, JS
Tags: css, grid, text-stroke, text-shadow, design
20. Custom Multiline Text Underline With Rounded Caps

Author: ash (Ash)
Links: Source Code / Demo
Created on: May 23, 2019
Made with: HTML, CSS
Tags: text-decoration, underline, custom properties, calc
21. Outline Text Effect

Simple text outline effect using on basic CSS
Author: Jamie Hammond (developerontour)
Links: Source Code / Demo
Created on: April 29, 2020
Made with: HTML, CSS
Tags: html, css, pure-css, text-effect
22. Multiline Text Strikthrough

Author: Mandy Michael (mandymichael)
Links: Source Code / Demo
Created on: May 8, 2019
Made with: HTML, SCSS
23. Neon Light Text

Author: Sarah Fossheim (fossheim)
Links: Source Code / Demo
Created on: March 2, 2020
Made with: HTML, CSS
Tags: css, typography, shadows, neon, text-shadow
24. Relieves En Textos

Author: David Lillo (davidlillo)
Links: Source Code / Demo
Created on: April 25, 2019
Made with: HTML, CSS
25. SVG Text Underline

Use an SVG to highlight a single word within a block of text. The size of the SVG will flex to fit the word and a tag is used to handle semantics.
Author: Andrew Spencer (iam_aspencer)
Links: Source Code / Demo
Created on: March 3, 2019
Made with: HTML, SCSS
Tags: svg, underline, typography
26. Text In A Circle With CSS Variables

Author: Michelle Barker (michellebarker)
Links: Source Code / Demo
Created on: April 4, 2019
Made with: HTML, SCSS
27. SVG/Stroke Animation.

Animated quote of the day :) " do something creative everyday" with stroke animations.
Author: Mansoour (Mansoour)
Links: Source Code / Demo
Created on: August 31, 2018
Made with: HTML, CSS, JS
Tags: svg, animations, stroke, css, quote
28. Animated Blobs Text - Multiple Colors

Animated Blobs Text by using only CSS.
Author: Amli (uzcho_)
Links: Source Code / Demo
Created on: February 25, 2019
Made with: HTML, CSS
Tags: codepenchallenge, cpc-blob, pattern-text, gradient-text, text-effect
29. Multiline Background Gradient With Mix-blend-mode

Author: Matthias Ott (matthiasott)
Links: Source Code / Demo
Created on: December 3, 2018
Made with: HTML, SCSS
30. Stay Positive

Author: Adam Kuhn (cobra_winfrey)
Links: Source Code / Demo
Created on: January 31, 2019
Made with: HTML, SCSS
31. DECONSTRUCTED

I watched some 'Deconstructed' videos from Genius, where producers explain how they made the tracks for rappers/singers. I figured why not recreate the DECONSTRUCTED intro.
Author: Ben Szabo (finnhvman)
Links: Source Code / Demo
Created on: November 19, 2018
Made with: HTML, CSS, JS
Tags: slice, split, text, typeface, rap
32. CSS : Background Clip

Author: Amir (sxrdev)
Links: Source Code / Demo
Created on: November 30, 2018
Made with: HTML, SCSS
33. Cool 3D Text With Hover State In Just CSS

Author: Ashish Anand (anotherwebguy)
Links: Source Code / Demo
Created on: September 30, 2018
Made with: HTML, CSS
34. Popout Text With Background Image Shadow

Cutting out text from a background and then having it "popout" similar to how text shadow can be used. In fact, this does make use of text shadow!
Author: Mark (defaultclass)
Links: Source Code / Demo
Created on: October 25, 2018
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: text-shadow-effect, popout-text, knockout text, background image text, text design
35. Refracted Floating Text Effect

This pen shows how pure CSS can be used to create an animated refracted floating text effect.
Author: George W. Park (GeorgePark)
Links: Source Code / Demo
Created on: September 18, 2018
Made with: HTML, CSS
Tags: css, typography, animation, refraction, effect
36. Animated Text-Shadow

A fun, CSS animation that creates a bounce while mimicking an RGB separation during the process.
Author: Erin E. Sullivan (erinesullivan)
Links: Source Code / Demo
Created on: September 10, 2018
Made with: HTML, CSS
Tags: text-shadow, css, animation, rgb, rgb separation
37. CSS Gooey Text Transition

A very simple and versatile text morphing effect with a couple editable parameters.
Author: Mike Golus (mikegolus)
Links: Source Code / Demo
Created on: August 13, 2018
Made with: Pug, Sass, JS
CSS Pre-processor: Sass
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: css-only, animation, alphabet, gooey, text-transition
38. Animated Underline Effect On Several Lines

Author: cecile (cecilehabran)
Links: Source Code / Demo
Created on: August 22, 2017
Made with: HTML, SCSS
Tags: css, underline, highlight, link, hover
39. Skew Text On Hover

Author: delpher (delpher)
Links: Source Code / Demo
Created on: July 17, 2018
Made with: HTML, SCSS, JS
40. Strokes, Shadows + Halftone Effects

Author: Mark (defaultclass)
Links: Source Code / Demo
Created on: July 24, 2018
Made with: Pug, SCSS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
41. Animating Striped Text With Background Clip And Gradients.

Author: Mandy Michael (mandymichael)
Links: Source Code / Demo
Created on: June 25, 2018
Made with: HTML, SCSS
Tags: css, text-effects, background-clip, gradient, animated stripes
42. Hello!

Click to re-draw! Mapping sprites to text is always fun! Add in some TweenJS and see what happens :D
Author: Sebastian De Rossi (derossi_s)
Links: Source Code / Demo
Created on: January 7, 2018
Made with: HTML, CSS, JS
Tags: createjs, javascript, typography, texteffects
43. Letters Effect

Author: stefano perelli (esse)
Links: Source Code / Demo
Created on: February 11, 2018
Made with: HTML, CSS, JS
44. Text Line Animation

Author: John Healey (jhealey5)
Links: Source Code / Demo
Created on: September 25, 2017
Made with: HTML, Less, JS
Tags: svg, animation, typography, gsap
45. Silent Movie Text Effect

Author: Dimitra Vasilopoulou (mimikos)
Created on: July 27, 2017
Made with: HTML, CSS, JS
Tags: text-effect, noise, canvas, gsap, grain
46. Popout Text

Author: Nathan Taylor (nathantaylor)
Links: Source Code / Demo
Created on: September 14, 2017
Made with: HTML, SCSS
47. SVG Text Animation

Author: Cassie Evans (cassie-codes)
Links: Source Code / Demo
Created on: July 17, 2017
Made with: HTML, CSS, JS
48. Blazing Fire

Animated text effects using CSS3 text-shadow to give text headers a blazing flame
Author: Makan (makan)
Links: Source Code / Demo
Created on: February 24, 2015
Made with: HTML, CSS
Tags: css3, text-shadow, blazing, flame, text
49. GSAP Text Reveal Animation

Author: Artur Sedlukha (sedlukha)
Links: Source Code / Demo
Created on: July 15, 2017
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: gsap, animation, greensock
50. Simple CSS Hover Effect Using Sass Loops

Simple little hover animation. Sass loops make staggering animation delays really easy to do...you can get a lot of mileage out of them ;D
Author: Charlie Marcotte (FUGU22)
Links: Source Code / Demo
Created on: August 16, 2017
Made with: Pug, Sass
CSS Pre-processor: Sass
JS Pre-processor: None
HTML Pre-processor: Pug
51. Spring Text Hover Effect

Just playing around with effects for buttons and thought this was pretty cool.
Author: Nathan Taylor (nathantaylor)
Links: Source Code / Demo
Created on: September 14, 2017
Made with: HTML, SCSS
Tags: button, hover-effect, tech, spring
52. Animated Underlines

Demo of an animated underline effect that I showcased at the first CodePen meetup in Iceland. Pure CSS animation.
Author: Ragnar Þór Valgeirsson (rthor)
Links: Source Code / Demo
Created on: July 12, 2017
Made with: HTML, SCSS
Tags: css, hover, animation, underline, link
53. Moving Cloud Text | HTML + CSS

Tested on Chrome and Firefox
Author: Cameron Fitzwilliam (CameronFitzwilliam)
Links: Source Code / Demo
Created on: March 4, 2018
Made with: HTML, CSS
54. CSS Attempts At Text With Inline Skewed Background

Author: Mark Stickling (mkstix6)
Links: Source Code / Demo
Created on: June 22, 2018
Made with: HTML, SCSS
55. SVG Knockout Text With Video Background

This demo explores creating knockout text/paths in SVG and looping a YouTube video as the fill. My personal 31 Nights of Horror series continues this year and this was built as the teaser landing page. Follow the calendar here: https://yuschick.github.io/31-Nights-of-Horror-2017
Author: Daniel Yuschick (Yuschick)
Links: Source Code / Demo, Yuschick.github.io
Created on: August 18, 2017
Made with: HTML, SCSS
Tags: svg, video, knockout, mask, youtube
56. Background Clipping Covfefe

Author: Stephanie (ramenhog)
Links: Source Code / Demo
Created on: May 31, 2017
Made with: HTML, SCSS
57. Onion Skinning Text Morphing

Author: John Healey (jhealey5)
Links: Source Code / Demo
Created on: June 14, 2017
Made with: HTML, Less, JS
Tags: animation, morphing, text, gsap
58. Shaded Text

Shaded Text, a SVG+CSS3 experiment about animated shadows. It isn't optimized for mobile devices... yet.
Author: Rafael González (rgg)
Links: Source Code / Demo
Created on: September 16, 2016
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
Tags: svg, css3, animation, shadows
59. Second Shadow Text Effect

Author: Code School (codeschool)
Links: Source Code / Demo
Created on: April 13, 2016
Made with: HTML, CSS
60. Squiggly Text

Squiggly text experiment with SVG Filters
Author: Lucas Bebber (lbebber)
Links: Source Code / Demo
Created on: March 13, 2015
Made with: HTML, Stylus
Tags: svg, squiggly, text, typography, effect
61. CSS Perspective Text Hover

An experiment using webfonts in combination with CSS 3D transform tools.
Author: James Bosworth (bosworthco)
Links: Source Code / Demo
Created on: August 14, 2016
Made with: HTML, SCSS
Tags: css, perspective, 3d, text, hover
62. Animated Highlighted Text

This pen was inspired by webdesignerdepot's new design, the title on each article will be highlighted when user hovered it. The idea is simple, it make used of linear gradient and transition. We set the title to be inline element (This will break every background when the title breaked ...Read More
Author: Rian Ariona (ariona)
Links: Source Code / Demo
Created on: November 22, 2014
Made with: HTML, SCSS
Tags: highlight, hover inpiration, animated highlight, card
63. Happy Text

Author: Bennett Feely (bennettfeely)
Links: Source Code / Demo
Created on: November 10, 2012
Made with: HTML, CSS
Tags: hover
64. Peeled Text Transforms

This pen shows text that looks like it is peeled of the page. It has a smooth animation when hovered. For accessibility reasons, I've added an aria-label to the paragraph. Tests Primarily tested in Safari 8 with VoiceOver on OS X 10.10 Yosemite. Not tested on mobile devices. Also tested...Read More
Author: Zoë Bijl (Michiel)
Links: Source Code / Demo
Created on: November 23, 2014
Made with: HTML, Stylus
Tags: css
65. Efek Typography Text Neon Part 1

make text design (typography) with neon effect
Author: Prima Utama Apriansyah (primaapriansyah)
Links: Source Code / Demo
Created on: March 6, 2014
Made with: HTML, CSS
Tags: typography, text, neon, effect
66. Vertically Rotating Text Css [FORK] W/ Browser Prefixes
![CSS Text Effects - Vertically rotating text css [FORK] w/ browser prefixes](https://cdn.cactal.app/website-assets/2jm9gbEBKVutvjnsUhFTU.png)
This is a fork of Miloš Rujević's wonderful codebit. I've changed the font to Montserrat and added CSS3 browser prefixes so the animation works right out of the box across browsers. Should work with Firefox, Chrome, Safari, Opera
Author: Jacob Stone Design (JacobStone420)
Links: Source Code / Demo
Created on: March 4, 2014
Made with: HTML, CSS
Tags: rotating, text, css, scroll, webfont
67. SVG Text: Animated Typing

Getting Friendly with SVG Text # 2: animate && textPath
Author: Tiffany Rayside (tmrDevelops)
Links: Source Code / Demo
Created on: February 12, 2015
Made with: HTML, CSS
Tags: svg, svg-animation, svg text animation, text typing effect, animated typing
68. Happy New Year! -- CSS Only

Created this text animation for a personal new years project. (Also worth a check! (: Canvas (particles) animations) Uses svg clipPath in combination with a stroke & stroke-dashoffset.
Author: SnailCrusher (Sector22)
Links: Source Code / Demo
Created on: December 31, 2014
Made with: HTML, SCSS
Tags: svg, animation, handwritten, css, stroke
69. LOVE Text Effect

Scrambled text effect inspired by the award winning Science Fiction film LOVE http://uk.imdb.com/title/tt1541874/. Ported from a JavaScript jQuery plugin that @soulwire created on jsdo.it at the end of last year after we had just watched the film http://jsdo.it/soulwire/love-text-fx
Author: Matthew Wagerfield (wagerfield)
Links: Source Code / Demo
Created on: November 23, 2012
Made with: HTML, Sass, CoffeeScript
Tags: text, effect, love, scramble
70. Text Hover Effect

Author: Habibur Rahman (hrsshainik)
Links: Source Code / Demo
Created on: June 29, 2020
Made with: HTML, SCSS
Tags: te, text-hover-effect, text-effect, text-hover, css-hover-effect
71. Text Effect

Tracking in and out text effect (CSS only)
Author: Cristina Niculescu (N-Cristina)
Links: Source Code / Demo
Created on: June 3, 2020
Made with: HTML, CSS
Tags: track in, track out, text-effect, fade-in, fade-out
72. Text Glitch Effect

Totally glitchin text effect. Created by animating ::before and ::after pseudo-elements.
Author: marinda (mariiinda)
Links: Source Code / Demo
Created on: May 29, 2020
Made with: HTML, SCSS
Tags: glitch, css-animation, text-effect
73. Texts

Author: Dorota S. (Dorota)
Links: Source Code / Demo
Created on: May 1, 2020
Made with: HTML, CSS
Tags: striped-text, text-effect, linear-gradient, repeating-linear-gradient
74. Underline Text Effect

Author: Dumitrascu-Ungar Kevin (dukkevin)
Links: Source Code / Demo
Created on: April 14, 2020
Made with: HTML, CSS
Tags: text-effects, text-effect, effects, css effects
75. Amazing Interiors Font Effect

I liked the text effect on the Amazing Interiors title cards and wanted to see if I could recreate it in HTML & CSS Resources - https://www.netflix.com/title/80184067 - https://css-tricks.com/adding-stroke-to-web-text/ - https://leaverou.github.io/css3patterns/#polka-dot - https://fonts.g...Read More
Author: Shannon Crabill (scrabill)
Links: Source Code / Demo
Created on: April 1, 2020
Made with: HTML, CSS
Tags: html, css, font, text-effect
76. Rainbow Spotlight

Using background-clip:text and animating clip-path on pseudo element, the ranibow focus was achieved.
Author: Shireen Taj (TajShireen)
Links: Source Code / Demo
Created on: March 6, 2020
Made with: HTML, CSS
Tags: text-effect, animation, clip-path, keyframe
77. Simple Text Stroke Effect

Author: Mohammad Bagher Ehtemam (MBehtemam)
Links: Source Code / Demo
Created on: February 25, 2020
Made with: HTML, CSS
Tags: text-effect, stroke text, css text stroke
78. Blip Text

Text typer effect, with build and erase. Creates BlipText prototype objects from markup elements with appropriate class / data-attributes.
Author: Nick Watton (2Mogs)
Links: Source Code / Demo
Created on: February 4, 2020
Made with: HTML, SCSS, JS
Tags: javascript, text-effect, animation
79. Text Effect Using Background Clip And Clip Path

I used background-clip: text to clip the image to text ( the one on the right) and used a polygon clip-path on the pseudo element to color it white.
Author: Shireen Taj (TajShireen)
Links: Source Code / Demo
Created on: February 25, 2020
Made with: HTML, CSS
Tags: clip-path, background-clip, text-effect, clip text, clip
80. Effect

one by one letter showing
Author: Bhupinder Daroch (bhupinder-daroch)
Links: Source Code / Demo
Created on: January 18, 2020
Made with: HTML, CSS
Tags: effect, text-effect, keyframe, keyframe effect
81. Scrambled CSS Text Effect

Author: timming-au (timming-au)
Links: Source Code / Demo
Made with: Pug, SCSS, JS
CSS Pre-processor: SCSS
JS Pre-processor: None
HTML Pre-processor: Pug
82. Text Effect With CSS

Author: Vikash Singh (master_vikash)
Links: Source Code / Demo
Created on: January 7, 2020
Made with: HTML, CSS
Tags: css, text-effect, blinking text, purecss, styling
83. Neon Glow Text Effect

I will make Neon Glow Text Effect with only one tag and CSS3
Author: HRe7ma (HRe7ma)
Links: Source Code / Demo
Created on: December 9, 2019
Made with: HTML, CSS
Tags: neon, glow, text-effect
84. CSS: Text With Image Fill

HTML text with an image as a fill effect.
Author: David Fox (foxbeefly)
Links: Source Code / Demo
Created on: May 19, 2019
Made with: HTML, CSS
Tags: css, text-effect
NEW 🔥 Idea to UI/UX Design In Seconds With AI 🔥
👉 Click to try it for free: UXCanvas.ai
More Awesome Lists:
Share:



