• Stars
    star
    116
  • Rank 303,894 (Top 6 %)
  • Language
    Ruby
  • Created over 11 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Autoprefixer integration with Middleman

Gem version Build status Coveralls Dependency status

Middleman::Autoprefixer

Automatically vendor-prefix stylesheets served by Middleman.

Usage

Add the following line to Gemfile, then run bundle install:

gem 'middleman-autoprefixer'

After installation, activate (and optionally configure) the extension in config.rb:

activate :autoprefixer
activate :autoprefixer do |config|
  config.browsers = ['last 2 versions', 'Explorer >= 9']
  config.ignore   = ['/stylesheets/hacks.css']
end

Available options

browsers

The list of targeted browsers. Takes values and uses defaults accordingly to Autoprefixerโ€™s documentation.

add

Whether to add vendor prefixes: true or false. Enabled by default.

remove

Whether to remove outdated prefixes: true or false. Enabled by default.

cascade

The visual cascade of prefixed properties: true or false. Enabled by default.

inline

Whether to process inline styles within HTML files: true or false. Disabled by default.

ignore

The array of patterns or paths to exclude from processing. Empty by default.

License

Middleman Autoprefixer was created by Dominik Porada and is distributed under the MIT license.

More Repositories

1

middleman

Hand-crafted frontend development
Ruby
7,048
star
2

middleman-blog

Blog Engine Extension for Middleman
Gherkin
325
star
3

middlemanapp.com

Documentation for Middleman
SCSS
267
star
4

middleman-syntax

Code syntax highlighting plugin via Rouge for Middleman
Ruby
179
star
5

middleman-livereload

LiveReload support for Middleman
Ruby
118
star
6

middleman-minify-html

A HTML whitespace minifier for Middleman
Ruby
77
star
7

middleman-sprockets

Sprockets support for Middleman
Gherkin
63
star
8

middleman-directory

Directory of Middleman extensions, templates and services
SCSS
31
star
9

middleman-asciidoc

๐Ÿ”ฐ AsciiDoc support for Middleman 4. (In Middleman 3, AsciiDoc support is provided by a core extension).
Gherkin
27
star
10

middleman-heroku

Precompile your static Middleman site when you push to Heroku
CSS
19
star
11

middleman-smusher

Use Smusher in Middleman
Ruby
18
star
12

middleman-clowncar

Clowncar responsive images for Middleman
Ruby
17
star
13

middleman-backbone

Backbone Boilerplate support for Middleman 3.0
JavaScript
15
star
14

middleman-sitemap-api

JSON API for Middleman Sitemap
Ruby
11
star
15

middleman-i18n

Internationalization extension for Middleman (Built-in to 3.0)
Ruby
11
star
16

middleman-templates-blog

Default new blog project template for Middleman
Ruby
10
star
17

middleman-templates-default

Default new project template for Middleman
Ruby
8
star
18

middleman-compass

v4+ support for Compass v1
Ruby
6
star
19

middleman-pipeline

Rake::Pipeline support for Middleman
Ruby
4
star
20

middleman-docker

Docker container for Middleman
Shell
4
star
21

middleman-templates-default-v5

Ruby
2
star
22

middleman-scss-lint

Ruby
2
star