N/APosted on - 01/28/2013
I have to create a windy effect for some content of my website. It should be flowed as wind blow and looks like real. Can this possible to create such effect by using wind css effect? If anyone have any recommendations will cordially taken.
Making realistic effect using wind css effect.
Thank you for asking. There are quite few ways on how to create the effect that you were looking for. Just use this code in CSS. This would create a realistic wind effect in your site.
var width = $(window).width(), height = $(window).height();
var $element = $("element");
$element.css("top", Math.random() * height);
$element.css("left", Math.random() * width);
I hope this helps.Thank you again.