html小练习
百度案例
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>百度一下,你就知道</title>
<link rel="stylesheet" href="./fonts1/iconfont.css">
<style>
* {
margin: 0;
padding: 0;
list-style: none;
outline: none;
}
.nav {
width: 100%;
height: 30px;
border-bottom: solid 2px #f7f7f7;
}