2017 © Pedro Peláez
 

contao-bundle autoprefixer-bundle

Contao autoprefixer extension

image

agoat/autoprefixer-bundle

Contao autoprefixer extension

  • Friday, June 23, 2017
  • by aGoat
  • Repository
  • 1 Watchers
  • 0 Stars
  • 69 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Autoprefixer plugin for Contao 4

Version License Downloads, (*1)

About

Forget about vendor prefixes. Just write pure (S)CSS. This plugin adds vendor prefixes (depending on your settings) to CSS rules using values from Can I Use., (*2)

Write your CSS rules without vendor prefixes:, (*3)

:fullscreen a {
    display: flex
}

Autoprefixer will use the data based on current browser popularity and property support to apply prefixes for you. You can try the interactive demo of Autoprefixer., (*4)

:-webkit-full-screen a {
    display: -webkit-box;
    display: flex
}
:-moz-full-screen a {
    display: flex
}
:-ms-fullscreen a {
    display: -ms-flexbox;
    display: flex
}
:fullscreen a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

Autoprefixer uses Browserslist, so you can specify the browsers you want to target in your project by queries like last 2 versions or > 5%., (*5)

See Browserslist docs for queries, browser names, config format, and default value., (*6)

Or visit the Autoprefixer project page for more informations., (*7)

Requirements

The autoprefixer tool used by this plugin is written in Javascript and called via node. Therefore, Node.js has to be installed on the server., (*8)

Visit https://nodejs.org to see how to installing Node.js., (*9)

Install

Contao manager

Search for the package and install it, (*10)

agoat/contao-autoprefixer

Managed edition

Add the package, (*11)

# Using the composer
composer require agoat/contao-autoprefixer

Registration and configuration is done by the manager-plugin automatically., (*12)

Standard edition

Add the package, (*13)

# Using the composer
composer require agoat/contao-autoprefixer

Register the bundle in the AppKernel, (*14)

# app/AppKernel.php
class AppKernel
{
    // ...
    public function registerBundles()
    {
        $bundles = [
            // ...
            // after Contao\CoreBundle\ContaoCoreBundle
            new Agoat\AutoPrefixerBundle\AgoatAutoPrefixerBundle(),
        ];
    }
}

The Versions

23/06 2017

dev-master

9999999-dev

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

23/06 2017

1.0.0

1.0.0.0

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

26/01 2017

0.4.4

0.4.4.0

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

26/01 2017

0.4.3

0.4.3.0

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

24/01 2017

0.4.2

0.4.2.0

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

22/12 2016

0.4.1

0.4.1.0

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

26/11 2016

0.4.0

0.4.0.0

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

17/11 2016

0.3.0

0.3.0.0

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

11/10 2016

0.2.3

0.2.3.0

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

02/09 2016

0.2.2

0.2.2.0

Contao autoprefixer extension

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires