当前位置:网站首页>W3school navigation bar exercise
W3school navigation bar exercise
2022-07-27 13:21:00 【Sorry, this person doesn't exist】
W3School Navigation bar exercises
<!DOCTYPE html>
<html lang="ch">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Navigation bar </title>
<link rel="stylesheet" href="/layout/css/reset.css">
<style> /* Set up nav Size */ .nav{
width: 1210px; height: 48px; background-color: #E8E7E3; margin: 100px auto; } /* Set up nav in li */ .nav li{
/* Set up li Float left , Arrange menus horizontally */ float: left; /* Set up li Height */ /* height: 48px; */ /* Centers text vertically in the parent element */ line-height: 48px; } /* Set up a The style of */ .nav a{
/* take a Convert to block element */ display: block; padding: 0 39px; /* Remove underscores */ text-decoration: none; color: #777777; font-size: 18px; } .nav li:last-child a{
padding: 0 46px 0 45px; } /* Set the mouse in effect */ .nav a:hover{
background-color: #3f3f3f; color: #E8E7E3; } </style>
</head>
<body>
<!-- Create the structure of the navigation bar -->
<ul class="nav">
<li>
<a href="#">HTML/CSS</a>
</li>
<li>
<a href="#">Brower Side</a>
</li>
<li>
<a href="#">Server Side</a>
</li>
<li>
<a href="#">Programming</a>
</li>
<li>
<a href="#">XML</a>
</li>
<li>
<a href="#">Web Building</a>
</li>
<li>
<a href="#">Reference</a>
</li>
</ul>
</body>
</html>
design sketch :

边栏推荐
- v-text
- Qt优秀开源项目之十三:QScintilla
- Map interface
- Poj2594 treasure exploration [bipartite graph minimum path coverage] [Floyd]
- [expression calculation] double stack: general solution of expression calculation problem
- Preliminary discussion on NetGen and Gmsh mesh generation of any multiple sub models of CAD based on osg+occ
- Zhongke Lanxun fell 30% on the first day of listing: Huang Zhiqiang, 60, started a company with a market value of 7.7 billion
- Seata 在蚂蚁国际银行业务的落地实践
- 分布式系统架构理论与组件
- Overview of famous inner classes and anonymous inner classes
猜你喜欢

@Simple understanding and use of conditionalonproperty

Summary of common methods of ArrayList

Article reproduction: srcnn

Multi activity disaster recovery construction after 713 failure of station B | takintalks share

「游戏引擎 浅入浅出」4.1 Unity Shader和OpenGL Shader

Xposed+fdex2 app shelling (black cat complains about app shelling)

How can the top 500 enterprises improve their R & D efficiency? Let's see what industry experts say!

能说一说 Kotlin 中 lateinit 和 lazy 的区别吗?

实现新增加硬盘的磁盘分区和文件系统挂载

JS true / false array conversion
随机推荐
Is it easy to find a job after programmer training and learning
Firefox 103 发布,更快、更安全
clear
Detail throw and throws
Feign client automatic assembly of three clients
面试考点:三种图的问题
Poj1273 drainage ditches [maximum flow] [SAP]
How to get class objects
Will saffron become a safe and effective natural therapy for patients with arthritis?
clearfix的作用
马斯克被曝绿了谷歌创始人:导致挚友二婚破裂,曾下跪求原谅
一款能模糊的地方都能模糊的测试工具——Wfuzz
Baoli food listed on Shanghai Stock Exchange: annual revenue of 1.578 billion, market value of 5.8 billion
18. Text processing tool -grep
Jesd204b debugging notes (practical version)
592. 分数加减运算 : 表达式计算入门题
Qt优秀开源项目之十三:QScintilla
轮播图
Why does the class annotated with @configuration generate cglib proxy?
POJ1273 Drainage Ditches【最大流】【SAP】