div+js实现文字句子鼠标悬停变粗放大动画代码
代码语言:html
所属分类:悬停
代码描述:div+js实现文字句子鼠标悬停变粗放大动画代码
代码标签: div js 文字 句子 鼠标 悬停 变粗 放大 动画 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
body {
align-content: center;
display: grid;
justify-content: center;
min-height: 100vh;
margin: 0;
}
.container {
background: #f5f5f5;
border: 1px dashed #e5e5e5;
max-width: min(600px, 90vw);
padding: 60px 0; user-select:none;
touch-action: none;
}
/*
.text-window {
overflow-x: hidden;
overflow-y: show;
white-space: nowrap;
position: relative;
height: 50px;
}
.text-inner {
display: inline-blo.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0