Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/07/2016, 21:36
Avatar de ArturoGallegos
ArturoGallegos
Moderador
 
Fecha de Ingreso: febrero-2008
Ubicación: Morelia, México
Mensajes: 6.774
Antigüedad: 16 años, 2 meses
Puntos: 1146
Respuesta: figura sencilla con CSS responsive

algo como esto puede valerte
Código HTML:
Ver original
  1. <div class="figura"></div>
Código CSS:
Ver original
  1. .figura{
  2.   height:25px;
  3.   background:#000;
  4.   margin: 30px 0;
  5.   overflow:hidden;
  6.   position: relative;
  7. }
  8.  
  9.   .figura:before, .figura:after{
  10.     display: block;
  11.     content: '';
  12.     height: 50px;
  13.     width: 60%;
  14.     background:#fe0;
  15.     transform:rotate(3deg);
  16.     position:absolute;
  17.     bottom: -35px;
  18.     left: -15px;
  19.   }
  20.   .figura:after{
  21.     left: auto;
  22.     right: -15px;
  23.     transform:rotate(-3deg)
  24.   }