Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

334
Vistas
Is there a way to make divs into different shapes

I am trying to create two divs (one on top half of page and the other on the bottom half) that look like teeth. The idea is that the top and bottom mouth piece divs will open and close with the scroll of the mouse and reveal the website content. Any idea how to make the each div look like a set of teeth? Would it be easier to just use an image of the teeth and do it like that?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can add clip-path to two divs for the purpose

Code example

  .jaw {
    height: 100%;
    width: 100%;
    position: fixed;
    background: white;
  }
  .bottom {
    bottom: 0;
  }
  .top {
    clip-path: polygon(
      0% 0%,
      0% 80%,
      20% 20%,
      33% 80%,
      50% 20%,
      66% 80%,
      80% 20%,
      100% 80%,
      100% 0
    );
  }
  .bottom {
    clip-path: polygon(
      0% 100%,
      0% 80%,
      20% 20%,
      33% 80%,
      50% 20%,
      66% 80%,
      80% 20%,
      100% 80%,
      100% 100%
    );
  }
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda