Collection of free CSS text-stroke code examples from Codepen and other resources

Welcome to our collection of CSS examples! In this carefully curated compilation, we have gathered a wide array of CSS code snippets that demonstrate the power and versatility of Cascading Style Sheets.

Gradient Stroke

Gradient Stroke

Author:
Marco Biedermann | July 28, 2021
Made with:
HTML / CSS (PostCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-
Text Stroke

Text Stroke

Author:
Patrick Freedom Mayer | June 4, 2021
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-
Retro Text Effect (Pure CSS)

Retro Text Effect (Pure CSS)

Author:
Yoav Kadosh | March 23, 2021
Made with:
HTML / CSS (SCSS)

About a code

Text effect with mask-image, text-stroke, and background-clip CSS properties.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
Typo Triple

Typo Triple

Author:
creatz | November 22, 2019
Made with:
HTML / CSS

About a code

Text stroke text effect.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-
Western Electric Big Button Phone

Western Electric Big Button Phone

Author:
Alex | May 15, 2019
Made with:
HTML / CSS (SCSS)

About a code

A recreation of the Western Electric Big Button phone produced in the 1970's. Recreated using flexbox, grid, text-shadows, and text-strokes.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-
Strokes, Shadows + Halftone Effects

Strokes, Shadows + Halftone Effects

Author:
Mark Mead | July 24, 2018
Made with:
HTML (Pug) / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Opera, Safari
Responsive:
no
Dependencies:
-
text-stroke: 4 Ways

text-stroke: 4 Ways

Author:
Kseso | June 26, 2017
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
Start Spreading The News — New York Poster

Start Spreading The News — New York Poster

Author:
Melissa Em | April 28, 2017
Made with:
HTML / CSS (SCSS)

About a code

New York Poster with text-stroke, filters, and mix-blend-mode.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
CSS Outline Text Stroke

CSS Outline Text Stroke

Author:
Viljami Salminen | November 25, 2015
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
CSS3 Stroke and Gradient Text

CSS3 Stroke and Gradient Text

Author:
James Nowland | July 22, 2015
Made with:
HTML / CSS (SCSS)

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
Gradient Text Stroke CSS

Gradient Text Stroke CSS

Author:
Seth Jenks | May 27, 2015
Made with:
HTML / CSS

About a code

CSS and SVG text strokes with gradient.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
yes
Dependencies:
-
Pure CSS Animation on Single Letter, Slide & Bounce

Pure CSS Animation on Single Letter, Slide & Bounce

Author:
Robert Borghesi | May 3, 2015
Made with:
HTML / CSS (SCSS)

About a code

Pure CSS animation, using @keyframes and SCSS cycles (@for). Black & white using text-shadow and using text-stroke. No JS.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-
CSS Text Stroke and CSS Text Border

CSS Text Stroke and CSS Text Border

Author:
Ignacio Correia | April 11, 2015
Made with:
HTML (Pug) / CSS (Less) / JS

About a code

Infinite effect only with CSS and HTML5.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
jquery.js, tweenmax.js
3D CSS Typography

3D CSS Typography

Author:
Noah Blon | July 1, 2014
Made with:
HTML / CSS

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Responsive:
no
Dependencies:
-

Discover Our Extensive Snippet Library

This heading suggests that your website provides a wide variety of snippets across different technologies, encouraging users to explore and use these resources for their development projects.

HTML Snippets.

Explore a collection of HTML snippets designed to streamline your web development process. From basic structures to complex elements.

CSS Snippets.

Discover powerful CSS snippets that help you style your web pages with ease. Whether you need layout solutions, animations

JavaScript Snippets.

Enhance your website's interactivity with our JavaScript snippets. From DOM manipulation to advanced algorithms

Bootstrap Snippets.

Leverage the power of Bootstrap with our collection of snippets. Quickly integrate responsive design components

Tailwind Snippets.

Speed up your development process with Tailwind CSS snippets. These utility-first CSS snippets enable you to

jQuery Snippets.

Simplify your JavaScript development with jQuery snippets. Easily perform common tasks like event handling, animations

React Snippets.

Build robust, component-based user interfaces with our React snippets. From state management to lifecycle methods,

Vue Snippets.

Streamline Vue.js development with our collection of snippets for creating components, managing state, and handling events.

Ready to set your Brand ablaze?

Let's craft a visual identity that ignites passion and loyalty. ✨