顶部导航栏需求
- 小米商城官方网站: https://www.mi.com/index.html
- 小米商城官方Logo下载网址: https://s01.mifile.cn/favicon.ico
项目结构
HTML代码
# 编辑文件index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>小米闪购-小米商城</title>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="topbar">
<div class="container">
<div class="topbar-nav