Answer the question
In order to leave comments, you need to log in
How to highlight a new row in a table?
Good evening! Tell me how to highlight a new row in a table. Maybe this is done through css or jquery, but the point is that when a new line appears, its background smoothly changes from white to light blue and back...
Answer the question
In order to leave comments, you need to log in
You need to add the following to the css rules:
@keyframes color-me-in {
0% {
background: white;
}
50% {
background: blue;
}
100% {
background: white;
}
}
$('div').css('animation', 'color-me-in 5s')
table tr:last-child {
animation: color-me-in 5s;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question