Dec 21, 2019
White Arrow icon
Back to all Elements

Sliding Tabs Menu

A sliding background element placed behind the tabs menu. No custom code, only IX.2

A simple No-Code solution to a sliding tabs menu animation.

Using Interactions and positioning the sliding element absolutely behind the tabs menu, we can create an effect of sliding background.

Important points:

  • The wrapping tabs element must have any positioning bside 'Static' (so the moving background wrap element will position relative to it)
  • The sliding background element must have a constant width, which is equal to the menu link width.

Preview:

browser mockup
Share:
Heart icon

Whenever possible, use Class Names to target the elements in your interaction. You never know when you'll need to duplicate and use it somewhere else...

Might also interest you:

Scaleable Vanilla JS Nested Tabs

JavaScript
Cloneable
Code

Nested tabs in an accordion template

Read more
Blue arrow iconWhite Arrow icon

Buttons Hover Interactions

Cloneable
Interactions

A small collection of buttons and hover interactions.

Read more
Blue arrow iconWhite Arrow icon

3d Video Slider (swiper.js)

Cloneable
CMS
JavaScript

A 3d slider with video items, plays and pauses on click & slide change.

Read more
Blue arrow iconWhite Arrow icon