Snippet

Fire strikethrough

Full page view

Description

A burning strikethrough using a pixelated GIF tile.

Created on 21 July 2026.

Code

<style>
  p {
    font: xxx-large sans-serif;
  }

  s {
    position: relative;
    display: inline-block;
    text-decoration: none;
    image-rendering: pixelated;
    
    &::after {
      content: " ";
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-image: url('/snippet-assets/fire.gif');
      background-size: contain;
      pointer-events: none;
    }
  }
</style>

<p>Lorem ipsum dolor <s>Australia</s> sit amet.</p>

Page info

Canonical URLhttps://miro.boats/snippets/snippet/fire-strikethrough/
Build time17 August 2026 at 9:00:40 am AEST