Crypto-Jaguars/Revo-Marketplace

Create Hexagonal Clip-Path System

Open

#126 opened on Sep 26, 2025

View on GitHub
 (4 comments) (0 reactions) (1 assignee)TypeScript (71 forks)auto 404
Frontendeasygood first issueonlydust-wave

Repository metrics

Stars
 (5 stars)
PR merge metrics
 (PR metrics pending)

Description

Task Description Implement CSS system to create hexagonal shapes using clip-path for categories.

Deliverable Reusable CSS classes to create perfect hexagonal shapes with clip-path.

Requirements

  • Hexagonal shape using CSS clip-path
  • Responsive at different sizes
  • Compatible with background images
  • Hover effects that maintain shape
  • Reusable across multiple components

Technical Requirements

  • CSS clip-path with hexagonal coordinates
  • Custom Tailwind classes
  • 1:1 aspect ratio to maintain proportion
  • Centered transform-origin for rotations

Content Updates Required

  • Clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%)
  • Classes: .hexagon, .hexagon-hover
  • Aspect ratio: aspect-square

Additional Notes

  • Test in different browsers
  • Fallback for browsers without support
  • Optimize for performance

Definition of Done

  • Perfect hexagonal shapes
  • Responsive at all sizes
  • Compatible with background images
  • Hover effects work
  • Reusable in other components

Contributor guide