---
title: "CSSStyleValue | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface CSSStyleValue

The **`CSSStyleValue`** interface of the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API. An instance of this class may be used anywhere a string is expected.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue)

interface CSSStyleValue {  
    [toString](#tostring-1)(): string;  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.CSSStyleValue))

-   CSSStyleValue
    -   [CSSNumericValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSNumericValue/)
    -   [CSSKeywordValue](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.CSSKeywordValue/)

##### Index

### Methods[](#methods)

[toString](#tostring)

## Methods[](#methods-1)

### toString[](#tostring)

-   toString(): string[](#tostring-1)
    
    #### Returns string
