I'm using this cs code to set the color of a Progress Bar in JavaFX.
.progress-bar > .bar {
-fx-accent: black;
-fx-background-color: linear-gradient(
from 0px .75em to .75em 0px,
repeat,
-fx-accent 0%,
-fx-accent 49%,
derive(-fx-accent, 30%) 50%,
derive(-fx-accent, 30%) 99%
);
}
I have a two questions: How I can add animation to this Progress Bar like Standard Windows animation:
Notice the white color into the Progress Bar. And Also I would like to make the Progress Bar little more thin. Can I control the size of the Progress Bar with CSS?