< CMS Certified Integrator 14 LTS

ViewHelper: Asset.css

TYPO3

Show in app

Description

The Fluid ViewHelper `f:asset.css` is used to register CSS assets directly within Fluid templates. TYPO3 collects and renders these assets centrally, helping integrators manage stylesheets consistently across templates, extensions, and frontend output.

Goals

  • I know the purpose of the `f:asset.css` ViewHelper.
  • I can register external CSS files in Fluid templates.
  • I understand why an identifier is required for asset registration.
  • I know how TYPO3 prevents duplicate stylesheet inclusion.
  • I can configure additional HTML attributes such as media, integrity, and crossorigin.
  • I understand how f:asset.css integrates with TYPO3’s AssetCollector.

Maintainer

Oliver Thiele Web Development Oliver Thiele