Credit cards are treated like any other debt. Therefore, they are subject to a “just and right” division. A court may divide a credit card debt in any manner that the court views as “fair” to both parties. The court takes into account things like fault in the break up of the marriage, who benefited from the items purchased on the credit card, the earning potential of the parties, etc.
However, it is important to remember that the creditors are 3rd parties and therefore, they are not bound by the terms of the Divorce Decree. This means if your name is on a credit card your spouse is ordered to pay and your spouse stops paying the creditor can seek payment of the debt from you. If this occurs, you could potentially file an enforcement action against your former spouse or you could seek to enforce the Decree as a contract.