Forums

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

Home Forums CSS Slanted (Skewed) Rounded Border Header Background.. Sorry!

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #275308
    elmac2899
    Participant

    Sorry for the horrible description, but frankly thats as best as I can do.

    I’ve received a PSD from my designer and frankly Im stumped as to the best way to achieve this via CSS.

    Here’s the image (referring to the gradient slanted rounded cornered blue box).

    https://imgur.com/a/ljipANX

    Note that this is the header and I imagine some form of overflow hidden would be needed.

    Any help is much appreciated!

    #275309
    elmac2899
    Participant

    Sorry, also important to note that the it is not a 90 degree angle, but a bit larger at the corner

    #275310
    Paulie_D
    Member

    I’d use an SVG…probably simpler all round.

    #275311
    elmac2899
    Participant

    @Paulie_D – Sounds good. I’m not too familiar with the usage of SVGs – any tutorial you would recommend for learning to construct these SVGs?

    Thanks!

    #275313
    Pogany
    Participant

    Hi,
    I’ve made this pen for you where I’m using a skewed div, but SVG is a nice solution too:
    https://codepen.io/giaco/pen/ZjZRwW

    #275364
    gvinson
    Participant

    So, what part are you struggling with? The skew? The gradient? Rounded corners? Little cloud-looking cut out?

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