Opens in a new tab

Hover Band

Widgets4 minutes readUpdated 6 Oct 2026

A band that sweeps across an element on hover. Invert blends the band with what is underneath, so text and background swap tones. Colour fill lays a solid colour behind the content, with its own text colour on hover. Hover Band is a Free widget.

Requires: no animation library, and no script at all. It is pure CSS.

Where to find it#

As an element: Elements panel › Bricksify › Hover Band. It is a box like Bricks' Block, with all the layout controls, any tag including a link, and any content inside; it is inserted with a heading in it. On this element the band is Invert until you choose otherwise; choose an Effect in its Hover Band (Bricksify) group to show the other settings.

As a control group: Hover Band (Bricksify) on Block, Div, Container, Heading, Text Link and Button. There Effect starts at None; choose one to switch it on. See How widgets work.

Settings#

SettingOptionsDefaultWhat it does
EffectInvert (band blends with difference), Colour fill behind the contentNone (Invert on the Hover Band element)Which kind of band.
Band colourAny CSS colour or var(--token)#e1e0e1 for Invert; the text colour for Colour fillThe band's colour.
Slides in fromBottom, Top, Left, RightBottomThe side the band enters from.
Duration (s)1.25How long the sweep takes.
Text colour on hoverAny CSS colourinheritColour fill only. The text colour while the band is in. Invert changes the text tone by itself.

How it behaves#

On hover the band slides in from the chosen side and covers the element; when the pointer leaves it slides back out the same way.

Invert blends with the element and with whatever is behind it, so light text on a dark background turns dark on light under the band. Colour fill sits behind the content, so the text stays on top; set Text colour on hover so it still reads against the band.

The band needs the element to clip it, so the widget sets position: relative and overflow: hidden on it. Both are set so that anything you set yourself wins; if you change them, the band may show outside the element.

Keyboard: focusing the element, or a link or button inside it, with the keyboard brings the band in too. Touch screens: the hover sweep only runs on devices that can hover.

Reduced motion and without the plugin#

For a visitor who has asked for reduced motion, the band still appears on hover, but at once, without sliding. Without the plugin the element is plain, with no band.

Sliding highlight#

Effect Sliding highlight goes on a list, not on a row: every direct child (or every element matching Items) is an item. One band snaps to the first item the pointer enters, then glides to each next item and resizes to it (0.45s, expo out by default); leaving the list fades it out (0.2s). Keyboard focus inside an item moves it too. By default it sits above the items and blends with difference: light text on it turns dark, and anything behind the list (an image, a dark section) shows inverted through it. Band look: plain colour puts it behind the items instead. It runs from 992px (or the width you choose) and only follows a mouse or the keyboard; it uses a small script.

SettingDefaultWhat it does
Band colour#ffffffColour of the blocks
Duration (s) / Glide ease0.45 / expo outThe glide to the next item (ease out, in-out and linear also available)
Band lookInverts what it coversOr a plain colour behind the content
Items (CSS selector)the direct childrenWhich elements are items
Band coversthe whole itemOr the item inside its padding: a slim band with a tall hover area
Segments1Relative widths, e.g. 8 17 21 = three blocks
Gap between segments / Side inset / Corner radius0.5em / 0 / 0Per breakpoint
Rounded segmentsallOr only the last one
Fade out when leaving (s)0.2When the pointer leaves the list
Active from992px768px, 479px or every width

Reduced motion: the band jumps to the item instead of gliding. Without the plugin the list is plain.

Used in#

Roll List, on its rows (Invert, #e1e0e1, 1.25s).

Projects Case Index, on its case list (Sliding highlight, segments 8 17 21, inverting).