PHPackages                             pdir/css-style-selector-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pdir/css-style-selector-bundle

ActiveContao-bundle

pdir/css-style-selector-bundle
==============================

Contao 4 Css Style Selector bundle

1.7.1(3y ago)29.7k↓45%1MITPHPPHP &gt;=7.1 || ^8.0

Since May 29Pushed 3y agoCompare

[ Source](https://github.com/pdir/css-style-selector-bundle)[ Packagist](https://packagist.org/packages/pdir/css-style-selector-bundle)[ Docs](https://craffft.de)[ RSS](/packages/pdir-css-style-selector-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (20)Used By (1)

Contao 4 Css Style Selector Bundle
==================================

[](#contao-4-css-style-selector-bundle)

This Contao extension is a CSS style selector for content elements in Contao.

### CSS styles can be defined here

[](#css-styles-can-be-defined-here)

[![css selector navigation](https://raw.githubusercontent.com/Craffft/css-style-selector-bundle/master/docs/css-style-selector-nav.png)](https://raw.githubusercontent.com/Craffft/css-style-selector-bundle/master/docs/css-style-selector-nav.png)

### The predefined styles can be selected here

[](#the-predefined-styles-can-be-selected-here)

[![css selector navigation](https://raw.githubusercontent.com/Craffft/css-style-selector-bundle/master/docs/css-style-selector-preview.png)](https://raw.githubusercontent.com/Craffft/css-style-selector-bundle/master/docs/css-style-selector-preview.png)

Installation
------------

[](#installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require craffft/css-style-selector-bundle "dev-master"
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
