---
title: "Usage"
version: "14.1"
source: "Usage/Index.rst"
rendered: "2026-10-11T00:44:49+00:00"
---

# Usage {#usage}

```
page.includeCSS {

  bootstrap = fileadmin/bootstrap/sass/bootstrap.scss
  bootstrap.outputfile = fileadmin/bootstrap/css/mybootstrap.css

}

```

# Variables {#variables}

You can set sass variables in typoscript in template setup
part of your template:

```
plugin.tx_wsscss.variables {
  var1 = #000
  var2 = #666
}

```

If you combine *outputfile* and variables you can create different bootstrap styles with same files.

# Output Style {#output-style}

It’s possible to customize the formatting of the output CSS by changing the style.

-   expanded
-   compressed

```
page.includeCSS {

    bootstrap = fileadmin/bootstrap/sass/bootstrap.scss
    bootstrap.outputStyle = expanded
}

```

# Source Map {#source-map}

You can enable the source map

```
page.includeCSS {

    bootstrap = fileadmin/bootstrap/sass/bootstrap.scss
    bootstrap.sourceMap = true
}

```

For developing it is practical, if you force to render the template
(switch off the TYPO3 template cache). Then the scss files will be
compiled after modification and you can see the result of your
changes. Go into your backend user settings and use this command:

img-3

# Credits {#credits}

Sven Wappler. [TYPO3 Agentur Aachen](https://wappler.systems/)
