> For the complete documentation index, see [llms.txt](https://docs.formsort.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.formsort.com/styling/customizing-appearance/comparison.md).

# Comparison cards

Configuring your comparison cards

In the Theme menu, there are three options for styling comparison cards: Default, Highlighted, and Selected.  &#x20;

<figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2Fn8tvWNrjEaiwqVVWIzFU%2Fcomp_card2.png?alt=media&amp;token=b562b9dc-49d8-435d-95b9-aa8fa18896da" alt=""><figcaption></figcaption></figure>

**Default**: this is the default state of the card, and inherits styling from the default theme. No additional configuration is required except adding a comparison card to the step, but additional/differentiating styling can be added if desired.&#x20;

**Highlighted**: if an option has been designated as "highlighted" in the [question settings](/adding-questions-and-content/question-reference/comparison.md#adding-choices), the styling for the highlighted card can be set here.&#x20;

**Selected**: styling for when a card has been selected by the user.&#x20;

Each of the above three configurations can be further styled on a per-UI state basis: default and hover.&#x20;

<figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FP8CtfFACPbpLE4THLT44%2Fcomp_card3.png?alt=media&amp;token=bcb2b726-9924-4c78-8beb-e00413a81832" alt=""><figcaption></figcaption></figure>

The **horizontal overflow behavior** selector controls how the cards fill the space on the step, and has two settings, **wrap** and **scroll**.&#x20;

* Wra&#x70;**:** if the container holding the cards exceeds the width allotted for the container of the step, the cards will begin to stack vertically.&#x20;
* Scroll: if the cards exceed the width allotted, the a horizontal scroll will become available.&#x20;

Related pages: [Content Types: Comparison](/adding-questions-and-content/question-reference/comparison.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.formsort.com/styling/customizing-appearance/comparison.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
