Forums

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

Home Forums CSS how to create special div shapes?

  • This topic is empty.
Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #140557
    Paulie_D
    Member

    Give us the link and let US test it.

    #140572
    Kitty Giraudel
    Participant

    You forgot prefixes.

    #140576
    Paulie_D
    Member

    The `nth-child` statements aren’t working and neither, apparently are the transforms.

    Remember that you may have to use the prefixs for some of these…not to mention that you haven’t used a black page so other styles and specificity might be overriding some of the styles used.

    #140578
    Kitty Giraudel
    Participant

    Some properties require vendor prefixes (`-moz-`, `-webkit-`).

    #140581
    Kitty Giraudel
    Participant

    In your case, transform and transform-origin.

    You might also need to add a class to each `.slice` element like `.slice-1` in your HTML and change every `.slide:nth-of-type(X)` by `.slice-X` in your CSS.

    #140593
    Kitty Giraudel
    Participant

    > You might also need to add a class to each .slice element like .slice-1 in your HTML and change every .slide:nth-of-type(X) by .slice-X in your CSS.

    #140611
    Kitty Giraudel
    Participant

    Please, before using the code I gave you be sure to ask Ana Tudor (@thebabydino on Twitter) if she’s okay with this. I know code is open source, and blabla.. Still. :)

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