First I wound like to clarity i am not asking for code.
This code work on html 5.
I create basic page in drupal and implement same code:
<div data-top="opacity: 1" data--400-top="opacity: 0" class="abc"></div>
Drupal treat data as text and print this:
data-top=”opacity: 1″ data–400-top=”opacity: 0″ class=”abc”
Do I need any module to enable html5 data attributes?
I am using FULL HTML and I have no idea how to solve.
Many Thanks.