# GH_CssStyleSheet class

Namespace: [Grasshopper.GUI.HTML](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.html.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_CssStyleSheet
```

Represents an entire CSS style sheet specification.

## Constructors

- [GH_CssStyleSheet](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.html.gh-cssstylesheet/ctor.md): Create a new CSS style sheet.

## Properties

- [Links](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.html.gh-cssstylesheet/links.md): Gets a list of all the CSS style sheet links.
- [Styles](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.html.gh-cssstylesheet/styles.md): Gets a list of all the CSS styles defined locally.

## Methods

- [AddStyle](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.html.gh-cssstylesheet/addstyle.md): Add a new style to this sheet. If the style is already defined, it will not be added again.
- [FormatCss](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.html.gh-cssstylesheet/formatcss.md): Format the entire style-sheet as CSS 2.0 compliant text.
- [IsStyleDefined](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.html.gh-cssstylesheet/isstyledefined.md): Test to see whether a style has already been defined.
