function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sindhuja Ganapathy 9Sindhuja Ganapathy 9 

Is it possible to create a rotating headline in Salesforce UI using apex?

Piyush Gautam 6Piyush Gautam 6
Hi Sindhuja Ganapathy,

Try to use marquee tag in visualforce page for dynamic and custom class for rotating a text.

For Example:
<apex:page >
    
    <style>
        div.a {
          width: 150px;
          height: 80px;
          -ms-transform: rotate(20deg); /* IE 9 */
          -webkit-transform: rotate(20deg); /* Safari 3-8 */
          transform: rotate(20deg);
        }
    </style>
    
    
    <marquee>A scrolling text created with HTML Marquee element.</marquee>
    <div class="a"><apex:outputText>Rotate by 20 degree</apex:outputText></div>
</apex:page>

Thanks
Sindhuja Ganapathy 9Sindhuja Ganapathy 9
How to implement the same with lightning components?