We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Animation effects on tab change

Thread ID:





131925 Aug 3,2017 09:57 AM Aug 4,2017 08:33 AM Angular 1
Tags: ejTab
Sumair Ahmed
Asked On August 3, 2017 09:57 AM

How can i  apply a transition effect to the tab so the blue bar at the top of the tab moves to the next selected tab?  Similar to how it does on the official Angular website.

Keerthana Rajendran [Syncfusion]
Replied On August 4, 2017 08:33 AM

Hi Sumair,   
Thank you for contacting Syncfusion support.   
We have prepared a sample based on your requirement. Please download a sample from the following link   
We suggest to use the cssClass property of tab to add custom css to tab header. In the above sample, we have added ripple effect by using the below code.   
<ej-tab cssClass="custom">   
.custom.e-tab .e-bottom-line.e-item.e-active .e-link:after{   
  animation: e-ripple .55s linear;   
  background: #fff;   
   color: #000;   
.custom.e-tab .e-bottom-line.e-item{   
position: relative;   
.custom.e-tab .e-bottom-line.e-item .e-link:after{   
         content: '';   
        position: absolute;    
         top: 50%;   
         left: 50%;   
        width: 18px;   
        height: 4px;   
        opacity: 0;   
        border-radius: 100%;   
        transform: scale(1, 1) translate(-50%);   
        transform-origin: 50% 50%;   
 @keyframes e-ripple {   
        0% {   
        transform: scale(0, 0);   
        opacity: 1;   
        2% {   
        transform: scale(1, 1);   
        opacity: 1;   
        5% {   
        transform: scale(2, 2);   
        opacity: 1;   
        10% {   
        transform: scale(4, 4);   
        opacity: 1;   
        25% {   
        transform: scale(7, 7);   
        opacity: 1;   
        100% {   
        opacity: 1;   
        transform: scale(10, 20);   
You can modify these styles based on your scenario.    


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.