سؤال

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?

هل كانت مفيدة؟

المحلول

yes, see here an example: demo rotating cube

and here you can find a description description

نصائح أخرى

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>
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top