Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

498
Visualizações
How to add a notch to a card component on Vue.js

I am currently developing my first major Vue Project, I am pretty much familiar already with the framework, but my biggest flaw is CSS, I was wondering if I could make this "notch" effect on a Card component (the card is already made, it's simply a rounded border image like the one showing in the picture). (Link to Imgur below)

https://i.stack.imgur.com/SCJ23.png

I don't know if this effect is easily made with CSS, if not, I have no issues with having to use other libraries or any other trick that doesn't involve CSS.

That's all, ty all

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

What you need here is to use CSS Clip-Path to make the desired shape. You can use the following the CSS property

clip-path: polygon(50% 0%, 63% 12%, 100% 12%, 100% 70%, 100% 100%, 50% 100%, 0 100%, 0% 70%, 0% 35%, 0 0);

Check out https://bennettfeely.com/clippy/ to create clips of your desired shape. In your example I started out with a decagon and reshaped it to match yours.

Read https://css-tricks.com/clipping-masking-css/ to understand clips and masking in CSS. They have some great examples.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda