Candy Gloss

Gradient Fill · Static · pure CSS

A wet hard-candy shell: a saturated vertical gradient clipped to the glyphs from bright sugary top to deep juicy base, topped with a soft white specular band across the upper third. A thin darker stroke contains the shine and a tight lift shadow gives it body — sweet and glossy, never metallic.

Candy Gloss

How it works

Candy Gloss is a static gradient fill text effect rendered entirely in CSS. It works on a single element — just add the .text-effect class, with no extra HTML.

Controls

Candy Gloss exposes 3 dedicated controls — Candy Hue, Gloss and Stroke — on top of the shared type controls (font, weight, letter-spacing and case). Open it in the generator to tune every value live, then copy the updated CSS.

CSS

/* Candy Gloss — made with TEXT-FX · https://text-fx.app
 * HTML: just put the class on any element.
 * Font: 'Syne', sans-serif (load from Google Fonts).
 */

.text-effect {
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: none;
}

.text-effect {
  background: linear-gradient(180deg,
    rgba(255,255,255,0.6) 0%,
    rgba(255,255,255,0.27) 15%,
    rgba(255,255,255,0) 34%),
    linear-gradient(180deg,
    hsl(148 90% 74%) 0%,
    hsl(148 95% 50%) 55%,
    hsl(152 88% 30%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 0.035em hsl(146 80% 15%);
  filter: drop-shadow(0 1px 0 hsl(142 70% 12% / 0.55)) drop-shadow(0 4px 5px rgba(0,0,0,.42));
}

Pure CSS — just add the .text-effect class to any element.

Category
Gradient Fill
Type
Static
Browser support
background-clip:text (all modern, -webkit- prefixed)
Capabilities
pure

Related Gradient Fill effects