Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

bootstrap.offcanvas.scss - fixing browser prefixes #18

Closed

Conversation

transbetty
Copy link

Issue
1.4.2 ver doesn't work properly in iOS if you use SASS.

Reason
It's because the SASS source file doesn't include browser prefixes.

Example
bootstrap.offcanvas.scss line 31: transform: translateX($offcanvas-width);

Fix
use Compass to add all browser prefixes: @include transform(translateX($offcanvas-width));

Issue
1.4.2 ver doesn't work properly in iOS if you use SASS.

Reason
It's because the SASS source file doesn't include browser prefixes. 

Example
bootstrap.offcanvas.scss line 31: transform: translateX($offcanvas-width);

Fix
use Compass to add all browser prefixes: @include transform(translateX($offcanvas-width));
@iamphill
Copy link
Owner

iamphill commented Oct 1, 2015

I don't really want to add this into the main repo for 2 reasons:

  • Compass is very slow to compile and requires Ruby - whereas all the deps that are required at the moment are JavaScript and fast.
  • if you build the CSS through the library itself (it is just an add-on to Bootstrap's CSS after all) auto-prefixer does all the vendor prefixing for you 😄

But if you need this for a project you are working on then by all means edit your local source for this 👍

@iamphill iamphill closed this Oct 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants