JavaScript/jQuery Stepper - Customize Step Connectors
Stepper displays connector lines between step indicators. As users progress through the component, Stepper transitions step connectors to a highlighted state. You can use CSS styles to customize connectors in the highlighted and default states, and the transition between the two states.
To customize connectors in the highlighted state and the transition between connector states, assign css styles to the dx-stepper-connector-value class.
.dx-stepper-connector-value {
background-color: red;
transition-duration: 1s;
transition-delay: 0.1s;
transition-timing-function: steps(10, end);
}To customize connectors in the default state, assign css styles to the dx-stepper-connector-container class.
.dx-stepper-connector-container {
background-color: black;
}You can also change the width/height of connectors by assigning CSS styles to two classes simultaneously.
For Steppers that are orientated horizontally, assign the height style to the following classes:
dx-stepper-connector-containeranddx-stepper-connector-horizontal
Changes the height of connectors in the default state.dx-stepper-connector-valueanddx-stepper-connector-horizontal
Changes the height of connectors in the highlighted state.CSS.dx-stepper-connector-horizontal .dx-stepper-connector-container { height: 2px; } .dx-stepper-connector-horizontal .dx-stepper-connector-value { height: 5px; }
For Steppers that are orientated vertically, assign the width style to the following classes:
dx-stepper-connector-containeranddx-stepper-connector-vertical
Changes the width of connectors in the default state.dx-stepper-connector-valueanddx-stepper-connector-vertical
Changes the width of connectors in the highlighted state.CSS.dx-stepper-connector-vertical .dx-stepper-connector-container { width: 2px; } .dx-stepper-connector-vertical .dx-stepper-connector-value { width: 5px; }
If you have technical questions, please create a support ticket in the DevExpress Support Center.