Makes typing & deleting in input/Textarea fields exciting & fun with CSS3 effects.
<!-- ...previous page content... --> <div> <input type='text' > </div> <div> <textarea></textarea> </div> <!-- ...some more content (hopefully)... --> <script> $('div :input').fancyInput(); </script>
Call the .fancyInput() function on all parents of inputs. With this example code, make sure every input is wrapped in a div.
This plugin does not have any current plans to support any version of IE.
CSS3 提高了很多新的样式选项,让我们能够制作出漂亮的表单元素。 Fancy Input 这款 jQuery 插件不只是关注外观,同时在交互方面通过 CSS3 特性让文本输入域变得更有趣,更有吸引力。