🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**还没掌握需百度** <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.5.2/animate.min.css"> <p id="test">你好</p> <p class="animated shake" >nihaow</p> <script> var test = document.getElementById("test"); test.onmouseover = function(){ this.classList.add("animated") this.classList.add("shake"); } test.onmouseout = function(){ this.classList.remove("shake") } </script>