/** Styles to apply the handwritten effect to a thinger **/ .handwritten-wrap { font-family: "Caveat", cursive; a { position: relative; color: inherit; text-decoration: none; } a::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -0.15em; height: 0.3em; pointer-events: none; background: repeating-linear-gradient( -3deg, currentColor 0 1.5px, transparent 1.5px 4px ); opacity: 0.9; } del { position: relative; text-decoration: none; color: inherit; } del::after { content: ""; position: absolute; left: -4px; top: 50%; width: calc(100% + 8px); height: 1.4em; transform: translateY(-50%); pointer-events: none; background-color: currentColor; -webkit-mask-image: url("data:image/svg+xml;utf8,\ \ \ \ "); -webkit-mask-repeat: repeat-x; -webkit-mask-size: auto 100%; mask-image: url("data:image/svg+xml;utf8,\ \ \ \ "); mask-repeat: repeat-x; mask-size: auto 100%; } }