Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Vendor prefixes, Compass and Codekit [Need help]

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #44615
    mvaneijgen
    Participant

    First of all i hate prefixes, but i didn’t know what compass did so i never bothered looking at it. Now i was google-ing to see what i can do with all these stupit -moz -webkit prefixes and came to this [link to compass site about Removing Vendor Prefixes](http://compass-style.org/help/tutorials/exclude_vendor_prefixes/ “”link to compass site””)

    So i installed compass made my project a compass project in Codekit and hit CMD + S

    Result:

    Compass was unable to compile one or more files in the project:
    error style.scss (Line 25: Invalid CSS after “…lude transition”: expected “}”, was “: background 5s…”)
    identical style.css

    What do i need to do to get compass working for me

    #134382
    Senff
    Participant

    Maybe you just forgot a closing bracket somewhere. Can you show us the source file?

    #134383
    CrocoDillon
    Participant

    With includes you need to give the value as parameter, like `@include transition(background 5s ease);`, not the usual css colon syntax like you seem to have now.

    #134385
    mvaneijgen
    Participant

    @Senff dont think so..

    [link do source code](https://dl.dropboxusercontent.com/u/345640/Screenshot_07-05-13_22_33.png “Link my code”)

    @CorcoDillon i did

    Edit: Also just push my whole project to github maybe its easier to see if there is something wrong there.

    https://github.com/mvaneijgen/jongcreatiefenzo

    #134386
    CrocoDillon
    Participant

    > CorcoDillon i did


    @mvaneijgen
    you didn’t

    #134387
    mvaneijgen
    Participant

    @CorcoDillons so tell me, i dont see it what didnt i do ?

    #134388
    CrocoDillon
    Participant

    Read my first comment:

    @include transition(background 5s ease);

    you have:

    @include transition: background 5s ease;

    #134408
    mvaneijgen
    Participant

    @CrocoDillon thanks i really didn’t see the () so could not see what was wrong with it.


    @scottnix
    yeah i know, but i could not get it to work once, but now i do so im going to change my whole stylesheet.

    #134415
    CrocoDillon
    Participant

    > CrocoDillon thanks i really didn’t see the () so could not see what was wrong with it.

    No problem :)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘CSS’ is closed to new topics and replies.