0
点赞
收藏
分享

微信扫一扫

新浪导航(HTML)


<!DOCTYPE html>


<html lang="en">

<head>

<meta charset="UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Document</title>

<style>

div {

height: 40px;

border-top: 3px solid #ff8500;

border-bottom: 1px solid #edeef0;

}

div a {

width: 80px;

height: 40px;

display: inline-block;

line-height: 40px;

text-decoration: none;

font-size: 12px;

color: #4c4c4c;

text-align: center;

}

div a:hover{

background-color: #fcfcfc;

color: #4c4c4c;

}

</style>

</head>


<body>


<div>

<a href="#">设为首页</a>

<a href="#">手机新浪网</a>

<a href="#">移动客户端</a>

<a href="#">微博</a>

<a href="#">三个字</a>

</div>

</body>

</html>

效果图:

新浪导航(HTML)_html

举报

相关推荐

0 条评论