<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>垂直菜单</title>
<style type="text/css">
*{margin: 0;padding: 0;font-size: 15px}
ul{
list-style: none;
width: 100px;
}
a{
text-decoration: none;
display: block;
background-color: #201717;
color: red;
<html lang="en">
<head>
<meta charset="UTF-8">
<title>垂直菜单</title>
<style type="text/css">
*{margin: 0;padding: 0;font-size: 15px}
ul{
list-style: none;
width: 100px;
}
a{
text-decoration: none;
display: block;
background-color: #201717;
color: red;