HTML + CSSButtons

Zipper pocket button

A stitched denim pocket: on hover the brass pull runs along the zip and opens it to show the lining.

Settings

16px
1x

Code

<button class="uvq01-zip" type="button"><span class="ln" aria-hidden="true"><b>-30%</b></span><span class="dn up" aria-hidden="true"><i></i></span><span class="dn dw" aria-hidden="true"><i></i></span><span class="tz" aria-hidden="true"></span><span class="pl" aria-hidden="true"></span><span class="t">See offer</span></button>

Prompt for AI

Paste it into ChatGPT, Claude or Cursor and it will adapt the block to your project with these settings, even if you don’t use React.

Markdown version with all the code, for AI assistants

More in Buttons

See all Buttons

Where to use it

Denim texture, orange stitching and a brass zipper make this button feel like the back pocket of a pair of jeans. On hover or keyboard focus the pull slides across, its tab swings with inertia, and the zip opens into a V that reveals a satin lining with a small discount teaser. It is pure CSS, driven by an animated custom property. Great for fashion stores and sales.

The main color is the lining and the secondary color is the denim, so black jeans with a red lining or raw indigo with mustard are one tweak away. Keep the label short and uppercase, and edit the teaser on the lining to match your offer.