richthegeek / phpsass

A compiler for SASS/SCSS written in PHP, brought up to date (approx 3.2) from a fork of PHamlP: http://code.google.com/p/phamlp/
http://phpsass.com/
382 stars 83 forks source link

Explicit Hyphenated Transition Names Fail #125

Open virgofx opened 11 years ago

virgofx commented 11 years ago

The webkit-transform gets dropped during Sass compile. Example:

.some-div {
  -webkit-transform: translateX(50%);
  -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

Temporary work around using variables works.

$test: -webkit-transform;
.some-div {
  -webkit-transform: translateX(50%);
  -webkit-transition: $test 0.2s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}