20 CSS Tags & Chips Designs

Gradient Edge

Solid dark chip whose only accent is a thin gradient line on the bottom edge — minimalism with a single unmistakable signal. Fades up on hover.

Pure CSS MIT licensed

Gradient Edge the 11th of 20 designs in the 20 CSS Tags & Chips Designs collection. The design is implemented in pure CSS — no JavaScript required. Copy the HTML and CSS panels below into your project. Because the demo is pure CSS, it works in any framework or templating engine you happen to use. The design honours prefers-reduced-motion and uses real semantic markup, so it ships accessibility-ready out of the box.

Live preview

Open in playground

The code

<div class="ctc-edge">
  <a href="#" class="ctc-edge-chip">Frontend</a>
  <a href="#" class="ctc-edge-chip">Backend</a>
  <a href="#" class="ctc-edge-chip">DevOps</a>
</div>
.ctc-edge {
  display: flex;
  gap: 8px;
}

.ctc-edge-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #15151d;
  color: #c4b5fd;
  border-radius: 4px;
  font:
    600 12px/1 system-ui,
    sans-serif;
  text-decoration: none;
  overflow: hidden;
  transition:
    background 0.2s,
    color 0.2s;
}

.ctc-edge-chip::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c6cff, #ff6c8a);
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.ctc-edge-chip:hover {
  background: #1f1f2e;
  color: #fff;
}

.ctc-edge-chip:hover::after {
  transform: scaleX(1);
}

Search CodeFronts

Loading…