Currently, I am working on a UI element that needs to signify that the represented item will expand into multiple items later in the workflow. My idea is to make it visually distinct like this:
The actual image used will always be different.
If the element falls under this category, it will receive a special class called expandable-slide
. This is just an alpha version of the application, so I'm not looking to invest a lot of time adding new HTML and widgets. However, since it's Sunday, I'm open to experimenting and seeing if we can achieve this effect using only CSS.
I've realized that the stacking effect is quite similar to a box-shadow
, but with multiple shadows featuring slightly different colors and offsets. I'm currently exploring this approach to see if it will work.
The browser requirements are modern versions of Chrome and Firefox.