mercredi 24 décembre 2014

randomly choose between classes and apply them to div upon page load?

Is this possible?: Upon page load, for any <figure> that has a class called '.random' will randomly assign its image an element that'll be between float:left; or float:right;.


I have set up a jsfiddle.


Many thanks and happy christmas eve / christmas!





Aucun commentaire:

Enregistrer un commentaire