# Comment

A note between /\* and \*/ that is ignored by CSS.

## How do you write a **comment** in CSS?

A **comment** is a note for people reading the code. CSS ignores anything between `/*` and `*/`.

```css
/* Brand colors for the checkout page */
.checkout-button { background: #0a7; }
```

Level: Novice · [More CSS terms at this level](https://www.ask-codey.com/glossary/subjects/css/novice)

Updated: October 15, 2026

## In other subjects

- [Comment in C#](https://www.ask-codey.com/glossary/comment-c-sharp)
- [Comment in Java](https://www.ask-codey.com/glossary/comment-java)
- [Comment in JavaScript](https://www.ask-codey.com/glossary/comment-javascript)

Source: https://www.ask-codey.com/glossary/comment-software-development
