js实现英文单词悬浮变粗渐变效果代码
代码语言:html
所属分类:悬停
代码描述:js实现英文单词悬浮变粗渐变效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100;8..144,200;8..144,300;8..144,400;8..144,500;8..144,600;8..144,700;8..144,800;8..144,900;8..144,1000&display=swap");
html,
body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
background: #000;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
}
body {
}
.split h2 {
font-size: 3.5em;
font-weight: 100;
text-align: center;
font-family: "Roboto Flex";
font-weight: 300;
font-style: normal;
font-stretch: 100%;
l.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0