javascript - How do I lay my DIVs in a unique grid? -
currently, divs laid out this. it's basic float:left
. easy
but if want turn of square divs 1 twice wide/long? randomly selected, of course. how generate html/javascript , this?
what's math behind this? float:left
still work?
can please give example of how can achieved easily?
jquery masonry works this: http://desandro.com/resources/jquery-masonry/ (demo)
Comments
Post a Comment