# Structure

To use the `SkipToMainContent` css in `@miljodirektoratet/md-css` as a standalone, without the accompanying React component, please use the following HTML structure.

Class names in brackets [] are optional-/togglable-/decorator- or state dependant classes.

See [Storybook](https://miljodir.github.io/md-components) for examples and more info.

```html
<a className="md-skip-to-main-content[:focus-visible]" href="#main-content-anchor">Skip to main content</a>
```
