css实现文字菜单鼠标悬浮下划线动画效果代码

代码语言:html

所属分类:悬停

代码描述:css实现文字菜单鼠标悬浮下划线动画效果代码

代码标签: css 文字 菜单 鼠标 悬浮 下划线 动画

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>
    body {
	margin:0;
	height:100vh;
	display:flex;
	align-items:center;
	justify-content:center;
	background:linear-gradient(deepskyblue,navy);
}
ul {
	padding:0;
	list-style-type:none;
	display:flex;
	flex-direction:column;
	align-items:center;
}
ul li {
	color:#ddd;
	font-size:25px;
	font-family:sans-serif;
	text-transform:uppercase;
	position:relative;
	transition:0.3s;
	cursor:poi.........完整代码请登录后点击上方下载按钮下载查看

网友评论0