---
title: "Deprecation: #95349 - TypoScript: page.includeCSS/includeCSSLibs.import"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-95349"
source: "Changelog/11.5/Deprecation-95349-TypoScriptPageincludeCSSincludeCSSLibsimport.rst"
typo3-version: "11.5"
typo3-major: 11
type: "deprecation"
issue: 95349
forge: "https://forge.typo3.org/issues/95349"
tags: ["TypoScript", "NotScanned", "ext:frontend"]
rendered: "2026-10-07T18:53:34+00:00"
---

# Deprecation: #95349 - TypoScript: page.includeCSS/includeCSSLibs.import {#deprecation-95349}

See [forge#95349](https://forge.typo3.org/issues/95349)

## Description {#description}

The option to use the `@import` syntax for including
external CSS files through TypoScript has been marked as deprecated.

This was possible through:

```typoscript
page = PAGE
page.includeCSSLibs.file1 = fileadmin/benni.css
page.includeCSSLibs.file1.import = 1
```

Through the "import = 1" option the output was

```html
<style>
    @import url('fileadmin/benni.css');
</style>
```

## Impact {#impact}

A PHP `E_USER_DEPRECATED` error is triggered when having the `import = 1`
flag enabled in TypoScript on `includeCSS` or
`includeCSSLibs` properties.

## Affected installations {#affected-installations}

TYPO3 installations with the TypoScript settings

`page.includeCSS.aFile.import = 1`
`page.includeCSSLibs.aFile.import = 1`

enabled are affected.

## Migration {#migration}

Using the `<link>` tag syntax, which is the de-facto standard syntax these days,
allows to load a file directly when interpreting the HTML of the
browser, instead of first interpreting the HTML, then the CSS
and have a blocking call to an external URL to continue interpreting the CSS.

It is recommended to use the `<link>` tag or create an inlineCSS TypoScript
manually to load such a file with the `@import` syntax.
