Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1395834

    Hey there,

    I want to give my pictures an angle on one side.
    Like half of a parallelogram. (see picture in private section)

    I gave it a class with this css:

    `.parallelogram {
    width: 1200px;
    height: 900px;
    -webkit-transform: skewX(-10deg);
    -ms-transform: skewX(-10deg);
    transform: skewX(-10deg);
    overflow: hidden;
    text-align: center;
    position: relative;
    }
    .parallelogram img {
    -webkit-transform: skewX(10deg);
    -ms-transform: skewX(10deg);
    transform: skewX(10deg);
     position: absolute;
    left: -100px;
    }

    But: I want the Picture break out and be bigger than the Container. It should go to the top behind the burger and on the right side of my browser- like it would be in the grid element or color section background.

    What could I add to the code?
    I also tried the Grid, but then, the Text breaks out of the Container and I want the text to be in the grid.

    #1395838

    PS: or would It be easier to export the pictures already ready with an angle?
    Because there will be more pictures i need to fit in the parallelogram.
    See picture in private section.

    #1395856

    Hi,
    For the top image, I would recommend creating a LayerSlider so it will be full width and under your transparent header, for the other images it might be easier to make them with an angle before uploading them.

    Best regards,
    Mike

    #1395910

    can you show me a link to the image you like to influence?

    maybe a clip-path is a nice solution:
    https://bennettfeely.com/clippy/

    the clip-path is like a “keyhole” through which you can see. Look: https://webers-testseite.de/clippy/

    #1396056

    WOW! Thats an amazing tool!!
    Thank you very much.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.