Posted By

hibam on 08/16/12


Tagged

css wordpress


Versions (?)

Solución para DIVs que colapsan


 / Published in: CSS
 

Solución para DIVs que colapsan. Simplemente agrega la clase group al elemento que colapsa y se mostrará su tamaño.

  1. .group:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
  2. .group { display: inline-block; clear: both; }
  3. /* start commented backslash hack \*/ * html .group { height: 1%; } .group { display: block; } /* close commented backslash hack */

Report this snippet  

You need to login to post a comment.