svg+css实现箭头悬浮变直取消绑定动画效果代码
代码语言:html
所属分类:悬停
代码描述:svg+css实现箭头悬浮变直取消绑定动画效果代码
代码标签: svg css 箭头 悬浮 变直 取消 绑定 动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
background-color: #231E2E;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
svg {
width: 50px;
height: auto;
}
.arrow-icon path:nth-child(2) {
d: path("M14.5 4H3.5H4");
}
.arrow-icon path {
transition: 0.25s ease;
}
.arrow-icon:hover path:nth-child(1) {
d: path("M15 4H4V4&.........完整代码请登录后点击上方下载按钮下载查看
网友评论0