# Custom properties (--\*): CSS variables

```
<!DOCTYPE html>
<html>
<head>
<style>
:root {
  --color: red;
}
p {
	color: var(--color);
}
</style>
</head>
<body>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quasi quisquam animi, unde consectetur fugiat nulla dignissimos quam aliquam beatae officia sed, nobis veritatis et aperiam laborum maiores quaerat quis aspernatur dolorum distinctio, exercitationem cupiditate est sit. Quod vero aut, suscipit, illo possimus ad porro, cupiditate unde voluptate voluptatem dolore nesciunt!</p>
</body>
</html>
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learncss.gitbook.io/learncss/custom-properties-css-variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
