This content originally appeared on CodyHouse and was authored by CodyHouse
Download + Demo
How to
The 3D Text Block is a text container that rotates on hover. It can be used to add a bold CTA link to a section.
By default, the text block rotates as a single unit. You can, optionally, split the block into up to 4 units that rotate independently (e.g., adding the .td-text-block--split-2
class modifier - see demo). To split the block into multiple units, in addition to adding the proper class modifier, make sure to duplicate the .td-text-block__wrapper
element.
To make the content accessible, make sure to set a proper aria-label on the .td-text-block
element. This way, screen readers will read only the aria-label content and skip the text duplicates.
This content originally appeared on CodyHouse and was authored by CodyHouse
CodyHouse | Sciencx (2021-02-15T08:37:17+00:00) Component – 3D Text Block. Retrieved from https://www.scien.cx/2021/02/15/component-3d-text-block/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.