Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

angular tab change smooth transition

.mat-tab-body {
    animation: fade-out 0.5s;
    opacity: 0;
}
.mat-tab-body.mat-tab-body-active {
    animation: fade-in 0.5s;
    opacity: 1;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: discord.js create permanent invite 
Javascript :: node schedule every minute 
Javascript :: office check in 
Javascript :: how to get current date in express js 
Javascript :: kendo jquery grid refresh data 
Javascript :: add countdown timer to javascript quiz 
Javascript :: get role id from role position 
Javascript :: trailing comma javascript 
Javascript :: javascript variable in html string 
Javascript :: find duplicate values in array javascript 
Javascript :: javascript filter array match includes exact 
Javascript :: videojs 100%width 
Javascript :: how do you swap the vaRIables js 
Javascript :: powershell script string show variable 
Javascript :: datatable bootstrap cllick on specific button 
Javascript :: vue js readdir 
Javascript :: make an arry from a string 
Javascript :: switch react router 
Javascript :: add background image react native 
Javascript :: how to get data-target value in jquery 
Javascript :: this in javascript 
Javascript :: nested navigation react native 
Javascript :: celebrate node js 
Javascript :: js any 
Javascript :: arrow functions in js 
Javascript :: js get copied text 
Javascript :: json to array javascript 
Javascript :: nestjs init 
Javascript :: jquery function return 
Javascript :: How to Check if a Substring is in a String in JavaScript Using the includes() Method 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =