ChromaGrid is a simple grid layout that displays a series of cards with a hover effect. The layout is created using CSS Grid and has a 4x4 grid with each card having a width and height of 150px. The cards are positioned relatively and have a background color of rgba(45, 45, 45, 1).
https://github.com/EpicNesh26/ChromaGrid/blob/c928b0ae6798e00647330eedd2d3e4fe9935578d/style.css#L16-L28
When the user hovers over a card, a radial gradient appears in the center of the card, creating a subtle animation effect. The gradient is created using the ::before pseudo-element and is positioned using the --x and --y custom properties. The gradient's opacity is set to 0 by default and transitions to 1 when the user hovers over the card.
https://github.com/EpicNesh26/ChromaGrid/blob/87a00c42ece811ba73833faed9fda15c479bedc0/style.css#L32-L39
The card also has an ::after pseudo-element that creates a semi-transparent background, giving the card a subtle shadow effect.
https://github.com/EpicNesh26/ChromaGrid/blob/9d95764c9a4437b66071fc823a71780465c77d95/style.css#L49-L54
Overall, this project is a great example of how to use CSS Grid and custom properties to create a dynamic and interactive layout. The hover effect adds a nice touch to the design and can be easily customized to fit different design needs.