Elemental
Bento Card with Interactive Border Glow and Inner Highlight

Bento Card with Interactive Border Glow and Inner Highlight

Quick Setup:

You can copy-paste this component directly into your Webflow project and style it however you want.

[c-Final - First Bento Grid]

Required Attributes:

1. [a-data-flow = cards]
Defines the parent element that contains the cards. When the mouse enters this element, you start seeing the glow on the borders.

2. [a-data-flow = card]
Defines the card element. The glow is inside this div.

3. [a-data-flow-color-border = #your-color]
Sets the border glow color. Accepts CSS variables, functions, or static color values.

4. [a-data-flow-color-card = #your-color]
Sets the inner glow color. Accepts CSS variables, functions, or static color values.

Optional Settings:

Use variables and the color-mix function. You can set the card’s inner glow to something like: [a-data-flow-color-card = "color-mix(in srgb, var(--pink) 20%, transparent)"]. Here we are using a color variable, which can be the same as the border color, but set it to 20% opacity with the color-mix function.

In the code, [a-data-flow-color-card] there are two default values that you can change if you want.

[ag-0-d-Defines the parent element that contains the cards. When the mouse enters this element, you start seeing the glow on the borders.]
[ag-0-a-date-flow = cards]
[ag-0-a-date-flllllowww = fawda]

[ag-1-d-Defines the card element. The glow is inside this div.]
[ag-1-a-date-flow = card]


[ag-2-d-Sets the border glow color. Accepts CSS variables, functions, or static color values.]
[ag-2-a-date-flow-color-border = #your-color]

[ag-3-d-Sets the inner glow color. Accepts CSS variables, functions, or static color values.]
[ag-3-a-date-flow-color-card = #your-color]

Related Components:

blur

No items found.

aykut

ay

CSS
HTML
JS
GSAP
Resource Details:
Fast Access:
Menu
[[Profile embed]]