js代码
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script> <script type="text/javascript" src="dist/hoverSlippery.js"></script> <script> $(document).ready(function(){ //- Default $('.default').hoverSlippery(); //- Twice border $('.twiceBorder').hoverSlippery({ border: true, twiceBorder : true }) //- Underline $('.underline').hoverSlippery({ border: true, underline: true }) //- Overline $('.overline').hoverSlippery({ border: true, overline: true }) }) </script>