pages-gem icon indicating copy to clipboard operation
pages-gem copied to clipboard

autoprefixer?

Open lifeiscontent opened this issue 8 years ago • 26 comments

Any chance we could get autoprefixer into github-pages ? it's a pain in the butt to prefix all CSS properties.

lifeiscontent avatar Jan 27 '16 11:01 lifeiscontent

:+1:

j-mes avatar Jan 27 '16 13:01 j-mes

I know that is not exactly what you want but I have a suggestion. Sass library Bourbon has prefixes built in in its mixins .-> instead of "display: flex" you write +display(flex) and it will autoprefix in the rendered css file - if you use Sass.

LeDanielH avatar Jan 27 '16 22:01 LeDanielH

@LeDanielH I'm a contributor to bourbon :smile: https://libraries.io/github/lifeiscontent, I just want autoprefixer.

lifeiscontent avatar Jan 28 '16 23:01 lifeiscontent

@LeDanielH also, I don't think there is a way to hook bourbon into the Jekyll runtime to deploy with GitHub pages without doing something non-standard because of safe mode.

lifeiscontent avatar Jan 28 '16 23:01 lifeiscontent

What I've suggested solved my need for an autoprefixer. I've also used gulp-autoprefixer but Bourbon solved that too - simply no need for it. I never had problems using Bourbon with Jekyll and gh-pages (nothing nonstandard). But if people don't use Bourbon or Gulp, autoprefixer for github-pages would certainly be a great option to have.

LeDanielH avatar Jan 29 '16 04:01 LeDanielH

:+1:

woneob avatar Feb 09 '16 17:02 woneob

@lifeiscontent @LeDanielH Do either of you know of an existing Jekyll plugin that would support this out of the box?

benbalter avatar Feb 24 '16 18:02 benbalter

@benbalter according to http://frekyll.com/2016/01/05/jekyll-autoprefixer.html you can use this :gem: https://github.com/octopress/autoprefixer

DirtyF avatar Feb 24 '16 18:02 DirtyF

Currently using Bourbon is the best solution for prefixing on github-pages without using external tools, however, prefixing is being removed in Bourbon 5, so autoprefixer support would be very useful! https://github.com/thoughtbot/bourbon/releases/tag/v5.0.0.alpha.0

ressawyj avatar Apr 18 '16 07:04 ressawyj

Please note that a new autoprefixer plugin for Jekyll, also based on autoprefixer-rails like https://github.com/octopress/autoprefixer has been released : https://github.com/vwochnik/jekyll-autoprefixer/

DirtyF avatar Apr 18 '16 11:04 DirtyF

@benbalter I'd suggest the jekyll-autoprefixer gem from vwochnik anything that's close to feature parity with autoprefixer-rails is OK in my book 👍

lifeiscontent avatar Apr 27 '16 06:04 lifeiscontent

close to feature parity with autoprefixer-rails

It looks like it's just wrapping autoprefixer-rails?

benbalter avatar Apr 27 '16 17:04 benbalter

Hi! I'm hoping to use this autoprefixer gem in my project. I've configured it per the readme instructions from vwochnik/jekyll-autoprexixer and it serves locally just how it's supposed to.

screen shot 2017-03-01 at 4 28 31 pm

When I push to gh-pages though, some of the styles are gone. I'm assuming it's the autoprefixing issue because before I added that to the Gemfile, the styles weren't showing up locally either.

screen shot 2017-03-01 at 4 28 43 pm

Anybody have ideas?

amaliebarras avatar Mar 01 '17 22:03 amaliebarras

@amaliebarras the gems that are hosted on github-pages is currently the only thing you can get out of the box unless you want to host somewhere else, I ended up hosting my site on S3.

lifeiscontent avatar Mar 01 '17 23:03 lifeiscontent

Bootstrap 4 (beta) source now requires autoprefixer: https://getbootstrap.com/docs/4.0/getting-started/download/ so maybe this sort of change would be nice?

hchapman avatar Aug 22 '17 07:08 hchapman

👍

Skyost avatar Aug 31 '17 13:08 Skyost

👍 plese, Jekyll Gods

Johnylab avatar Feb 20 '18 15:02 Johnylab

👍 Bootstrap 4 is out of beta, and is a standard UI library clients are requesting. We really need an autoprefixer.

somegoodpixels avatar Feb 20 '18 15:02 somegoodpixels

Still no autoprefixer for github-hosted jekyll sites??? Wow.

keithpickering avatar Mar 21 '18 22:03 keithpickering

@parkr: any chance we can get this implemented any time soon?

XhmikosR avatar May 04 '18 10:05 XhmikosR

@XhmikosR I doubt it, no one from the GitHub team has looked at this issue since I opened it on Jan 27, 2016

lifeiscontent avatar Jun 09 '18 22:06 lifeiscontent

Just gonna point out this issue again, it would be amazing if this could become available.

Purpzie avatar Nov 28 '18 21:11 Purpzie

Still nothing?

mobihack avatar Jun 11 '19 09:06 mobihack

Would be a great addition!

superpuffin avatar Aug 01 '19 13:08 superpuffin

Has anyone heard if there are any plans to get jekyll-autoprefixer or similar built into Jekyll core?

VincentVToscano avatar Jan 15 '21 21:01 VincentVToscano