Question

Is it possible to realize a 3D rolling link (click for example) with a different content when rolling? So let's say there is a DIV, and when the user hover over the DIV, the DIV spins (like in the example) and shows another DIV with another (clickable and with different action) content? Do you think this is possible just in CSS, or is there JS needed?

Était-ce utile?

La solution

yes, see here an example: demo rotating cube

and here you can find a description description

Autres conseils

The example you gave allows it.

JSfiddle

You just have to change the data-title in the HTML...

<div id="reveal">
<a href="http://zsitro.com/" class=" roll">
    <span data-title="****CHANGE-ME****">H5BP build script</span>
</a>
</div>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top