1 Star 0 Fork 0

rexkny/web_tests

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
css形变.html 904 Bytes
一键复制 编辑 原始数据 按行查看 历史
rexkny 提交于 2022-04-15 19:06 . html&css
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.out{
border: 1.5px darkgray dashed;
width: 20%;
height: 30px;
background: linear-gradient(80deg,greenyellow,aqua);
transition: all 1s;
}
.out:hover{
width: 80%;
transition: all 1s;
}
</style>
<!-- <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script>
$(function(){
$('.out').mouseleave(function(){
$('.out').css('width','40%')
})
})
</script> -->
</head>
<body>
<div>
<div class="out">
</div>
</div>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/rexkny/web_tests.git
git@gitee.com:rexkny/web_tests.git
rexkny
web_tests
web_tests
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385