html5 kanban card css

You can customize the card appearance by adding a custom CSS class to the card div.

JavaScript

<style>
    .highlight .kanban_default_card_bar {
        background-color: orange;
    }

    .highlight .kanban_default_card_header {
        color: orange;
    }

</style>

<div id="dp"></div>

<script type="text/javascript">

    var dp = new DayPilot.Kanban("dp");
    dp.columns.list = [
        {name: "Analysis", id: "1", barColor: "#f9ba25"},
        {name: "Draft", id: "2"},
        {name: "Testing", id: "3"}
    ];
    dp.cards.list = [
        {id: 1, "name": "Task 1", column: "1", text: "This is a description of task #1."},
        {id: 2, "name": "Task 2", column: "1", text: "This task uses a custom CSS class (.highlight).", cssClass: "highlight"},
    ];
    dp.init();

</script>