github / pages-gem

A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages
http://pages.github.com
MIT License
1.82k stars 351 forks source link

autoprefixer? #191

Open lifeiscontent opened 8 years ago

lifeiscontent commented 8 years ago

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

j-mes commented 8 years ago

:+1:

LeDanielH commented 8 years ago

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.

lifeiscontent commented 8 years ago

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

lifeiscontent commented 8 years ago

@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.

LeDanielH commented 8 years ago

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.

woneob commented 8 years ago

:+1:

benbalter commented 8 years ago

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

DirtyF commented 8 years ago

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

ressawyj commented 8 years ago

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

DirtyF commented 8 years ago

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/

lifeiscontent commented 8 years ago

@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 👍

benbalter commented 8 years ago

close to feature parity with autoprefixer-rails

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

amaliebarras commented 7 years ago

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?

lifeiscontent commented 7 years ago

@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.

hchapman commented 7 years ago

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?

Skyost commented 7 years ago

👍

johnylab commented 6 years ago

👍 plese, Jekyll Gods

somegoodpixels commented 6 years ago

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

keithpickering commented 6 years ago

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

XhmikosR commented 6 years ago

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

jasem1983 commented 6 years ago

Ibrahim.jasem1@gmail.com

lifeiscontent commented 6 years ago

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

Purpzie commented 5 years ago

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

mobihack commented 5 years ago

Still nothing?

superpuffin commented 5 years ago

Would be a great addition!

VincentVToscano commented 3 years ago

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