主页面


代码1(style.css)
.nav {
height: 41px;
border-top: 3px solid #b4fffa;
border-bottom: 1px solid #edeef0;
background-color: #fcfcfc;
line-height: 41px;
}
.nav a {
display: inline-block;
height: 41px;
font-size: 15px;
color: #4c4c4c;
text-decoration: none;
padding: 0px 20px;
}
.nav a:hover {
background-color: #fcfcfc;
color: #93d9eb;
}
代码2(主页面)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HOMEPAGE</title>
<link rel="stylesheet" href="style.css">
<style>
* {
margin: 0;
padding: 0;
<
本文分享了一篇简单的个人介绍网页制作教程,包括主页面的HTML5结构和CSS样式设计。作者提供了代码示例,并鼓励读者学习理解,避免直接复制粘贴,希望有助于提升大家的前端技能。
最低0.47元/天 解锁文章
2715

被折叠的 条评论
为什么被折叠?



