网易云静态页面(1)

  • 效果
  • html
  • css

效果

在这里插入图片描述

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="./css/header.css"><link rel="stylesheet" href="./css/common.css">
</head><body><!-- header部分 --><header><!--  --><div class="header-top"><div class="header-top-box"><h1><a href="#"></a></h1><ul class="header-top-ul"><li><a id="findMusic" href="#">发现音乐</a><em></em></li><li><a id="myMusic" href="#">我的音乐</a><em></em></li><li><a id="follow" href="#">关注</a><em></em></li><li><a id="shop" href="#">商城</a><em></em></li><li><a id="musician" href="#">音乐人</a><em></em></li><li><a id="download" href="#">下载客户端</a><em></em></li></ul><div class="search"><input type="text" placeholder="音乐/视频/电台/用户" name="" id=""></div><a href="#" class="designer">创作者中心</a><a href="#" class="login">登录</a></div><!--  --><div class="header-none-box"></div><!--  --><div class="header-bottom"><div class="header-bottom-box"><ul class="header-bottom-ul"><li><a id="intro" href="#"><span>推荐</span></a></li><li><a id="ranking" href="#"><span>排行榜</span></a></li><li><a id="songList" href="#"><span>歌单</span></a></li><li><a id="radio" href="#"><span>主播电台</span></a></li><li><a id="singer" href="#"><span>歌手</span></a></li><li><a id="newDisk" href="#"><span>新碟上架</span></a></li></ul></div></div></div></header></body></html>

css

* {margin: 0px;padding: 0px;box-sizing: border-box;
}a {text-decoration: none;
}li {list-style: none;
}
header {width: 100%;
}header .header-top {width: 100%;height: 70px;background-color: #242424;
}header .header-top .header-top-box {width: 1100px;height: 100%;margin: auto;
}header .header-top .header-top-box h1 {float: left;width: 176px;height: 70px;padding-right: 20px;
}header .header-top .header-top-box h1 a {display: block;width: 100%;height: 100%;background: url("../logo/topbar.png") no-repeat 0px 0px;
}header .header-top .header-top-box ul {float: left;height: 100%;line-height: 70px;
}header .header-top .header-top-box ul li {float: left;position: relative;
}header .header-top .header-top-box ul li a {position: relative;display: block;color: #cccccc;font-size: 14px;height: 100%;padding: 0px 20px;
}header .header-top .header-top-box ul li a:hover {color: #ffffff;background-color: #000000;
}header .header-top .header-top-box ul li em {position: absolute;left: 45%;/* display: none; */top: 91%;width: 12px;height: 7px;background: url("../logo/topbar.png") no-repeat -226px 0px;
}header .header-top .header-top-box ul li:last-child>a::before {content: "";display: block;/*让为元素可以设置宽高*/position: absolute;left: 95px;top: 20px;width: 28px;height: 15px;background: url("../logo/topbar.png") no-repeat -191px 1px;
}header .header-top .header-top-box .search {float: left;width: 158px;height: 32px;/* background-color: green; */border-radius: 16px;margin: 19px 0px 0px 85px;background-color: #ffffff;position: relative;
}header .header-top .header-top-box .search::before {content: "";display: block;width: 16px;height: 16px;position: absolute;left: 8px;top: 8px;background: url("../logo/topbar.png") no-repeat -9px -107px;
}header .header-top .header-top-box .search input {width: 74%;/* height: 16px; */position: absolute;left: 27px;top: 8px;background-color: #fff;outline: none;border: none;
}header .header-top .header-top-box .designer {display: block;float: left;width: 90px;height: 30px;font-size: 12px;color: #ccc;border: 1px solid #4f4f4f;border-radius: 15px;line-height: 30px;margin: 20px 0px 0px 15px;padding-left: 16px;
}header .header-top .header-top-box .designer:hover {color: #fff;border-color: #fff;
}header .header-top .header-top-box .login {display: block;float: left;width: 28px;height: 16px;font-size: 12px;color: #787878;margin: 28px 0px 0px 15px;}header .header-top .header-top-box .login:hover {text-decoration: underline;
}/*  */
header .header-none-box {width: 100%;height: 5px;/* display: none; */background-color: #d80000;
}/*  */
header .header-bottom {width: 100%;height: 35px;/* display: block; */background-color: #c11515;
}header .header-bottom .header-bottom-box {width: 1100px;height: 100%;margin: auto;
}header .header-bottom .header-bottom-box ul {height: 100%;width: 100%;padding-left: 180px;
}header .header-bottom .header-bottom-box ul li {height: 100%;float: left;line-height: 35px;
}header .header-bottom .header-bottom-box ul li a {display: block;height: 100%;line-height: 35px;color: #fff;font-size: 12px;padding: 0px 15px;
}header .header-bottom .header-bottom-box ul li a span {padding: 2px 15px 3px 15px;border-radius: 20px;
}header .header-bottom .header-bottom-box ul li a span:hover {background-color: #8f1515;
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.pswp.cn/bicheng/89227.shtml
繁体地址,请注明出处:http://hk.pswp.cn/bicheng/89227.shtml
英文地址,请注明出处:http://en.pswp.cn/bicheng/89227.shtml

如若内容造成侵权/违法违规/事实不符,请联系英文站点网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Android开发知识点总结合集

初级安卓开发需要掌握的知识点主要包括安卓四大组件、Context、Intent、Handler、Fragment、HandlerThread、AsyncTask、IntentService、Binder、AIDL、SharedPreferences、Activity、Window、DecorView以及ViewRoot层级关系、触摸事件分发机制、View绘制流程、自定义View。 1…

如何通过域名白名单​OVP防盗链加密视频?

文章目录前言一、什么是域名白名单​OVP防盗链二、域名白名单​OVP防盗链的实现原理三、如何实现域名白名单​OVP防盗链加密视频总结前言 用户原创视频资源面临被非法盗链、恶意嵌入的严峻挑战&#xff0c;盗用行为不仅侵蚀创作者收益&#xff0c;更扰乱平台生态秩序。域名白名…

密码学系列文(2)--流密码

一、流密码的基本概念RC4&#xff08;Rivest Cipher 4&#xff09;是由密码学家 Ron Rivest&#xff08;RSA 算法发明者之一&#xff09;于 1987 年设计的对称流加密算法。它以简单、高效著称&#xff0c;曾广泛应用于网络安全协议&#xff08;如 SSL/TLS、WEP/WPA&#xff09;…

Drools‌业务引擎

drools引擎使用 官网介绍 一、底层原理 ReteOO 网络 • 本质是一张“有向无环图”&#xff0c;节点类型&#xff1a; – Root / ObjectTypeNode&#xff1a;按 Java 类型分发事实 – AlphaNode&#xff1a;单对象约束&#xff08;age > 18&#xff09; – BetaNode&#xf…

linux的磁盘满了清理办法

今天测试系统的某个磁盘满了&#xff0c;需要看一下&#xff0c;可以看到的是&#xff0c;已经被占用百分之百了&#xff0c;某些服务运行不了了&#xff0c;需要清一下&#xff0c;这个我熟看哪个目录占用空间大cd / du -sh * ##找到占用最大&#xff0c;比如cd /home cd /hom…

阿里开源项目 XRender:全面解析与核心工具分类介绍

阿里开源项目 XRender&#xff1a;全面解析与核心工具分类介绍 在开源技术飞速发展的浪潮中&#xff0c;阿里巴巴推出的 XRender 作为专注于表单与数据可视化的开源框架&#xff0c;凭借独特的设计理念和强大功能&#xff0c;已在开发者群体中崭露头角。XRender 以 “协议驱动…

网络安全初级--搭建

一、Docker搭建apt-get install docker.io docker-compose 下载docker 配置docker代理 a.创建对应的以及对应的文件mkdir /etc/systemd/system/docker.service.dvim /etc/systemd/system/docker.service.d/http-proxy.confb.写入以下内容[Service]Environment"HTTP_PROXYh…

文心一言4.5深度评测:国产大模型的崛起之路

在⼤语⾔模型竞争⽇益激烈的今天&#xff0c;百度推出的文⼼⼀⾔4.5凭借其在中文处理上的独特优势&#xff0c;正在成为越来越 多开发者的选择。经过为期⼀周的深度测试和数据分析&#xff0c;我将从技术参数、性能表现、成本效益等多个维度&#xff0c; 为⼤家呈现这款国产⼤模…

科技的成就(六十九)

631、摄影术的先驱 1801年&#xff0c;德国物理学家约翰威廉里特&#xff08;Johann Wilhelm Ritter&#xff09;发现了紫外线。他注意到&#xff0c;太阳光谱中紫色一侧光谱之外的位置的不可见射线比紫光更快地使氯化银试剂变暗&#xff0c;他将其称为“化学射线”。后来这种射…

用Golang gRPC异步处理:释放并发性能的秘密武器

目录 章节一:为什么gRPC异步处理是并发性能的“加速器” 异步的本质:解放Goroutine的潜能 异步gRPC的适用场景 章节二:从零开始:搭建一个异步gRPC服务 准备工作:定义Protobuf 实现同步gRPC服务 迈向异步:初步改造 章节三:用Worker Pool模式榨干并发性能 Worker …

MCP终极篇!MCP Web Chat项目实战分享

目录 前言 MCP Web Chat 功能概要说明 MCP Web Chat代码调用结构说明 api动态生成MCP Server 方法一&#xff08;之前的方法&#xff09; 方法二&#xff08;现在的方法&#xff09; 做个比较 相关代码 相关问题解决说明 稳定性 由此引申而来的异步任务问题 MCP周…

破解VMware迁移难题

理解VMware迁移的常见挑战 VMware迁移过程中可能遇到的难题包括兼容性问题、性能瓶颈、数据完整性风险以及网络配置复杂性。识别这些问题是制定有效迁移策略的基础。 评估当前环境与目标环境 详细分析源VMware环境的配置、虚拟机数量、存储类型和网络拓扑。对比目标环境的硬件和…

15-STM32F103RCT6的FLASH写入

STM32F103RCT6的FLASH写入 1.//*******************************固件升级地址信息******************************// #define STM32_FLASH_BASE 0x08000000 //固件起始地址 #define FLASH_APP_ADDR 0x08005000 //APP开始地址 #define FLASH_PARA_ADDR 0x0803C000 //固件关…

PPO:近端策略优化算法

温馨提示&#xff1a; 本篇文章已同步至"AI专题精讲" PPO&#xff1a;近端策略优化算法 摘要 我们提出了一类新的用于强化学习的 policy gradient 方法&#xff0c;该方法在与环境交互以采样数据和使用随机梯度上升优化一个“代理”目标函数之间交替进行。与标准的…

数据结构的算法分析与线性表<1>

一、算法分析&#xff1a; 由于语句执行一次的实际所需时间与机器的软硬件有关&#xff0c;则算法分析是针对语句执行次数&#xff0c;而非执行时间。 时间复杂度 计算时间复杂度&#xff1a; 常量阶 如果算法中的n是固定的&#xff0c;或者说n是常数&#xff0c;或者时间复杂…

esp32使用ESP-IDF在Linux下的升级步骤,和遇到的坑Traceback (most recent call last):,及解决

因为之前使用的是ESP-IDF5.3版本。而5.3版本又不支持ESP32P4。而V5.4版本开始正式对P4的支持。所以我把ESP-IDF 升级到V5.4.2的release版本。 一、升级版本&#xff1a;【根据乐鑫官方的方式升级】ESP-IDF 版本简介 - ESP32-P4 - — ESP-IDF 编程指南 v5.4.2 文档 更新至一个稳…

【算法】贪心算法:最大数C++

文章目录前言题目解析算法原理字典序代码示例策略证明前言 题目的链接&#xff0c;大家可以先试着去做一下再来看一下思路。179. 最大数 - 力扣&#xff08;LeetCode&#xff09; 题目解析 还是老样子&#xff0c;把题目读懂&#xff0c;画出有用信息。 认真看示例&#xff0…

网络安全职业指南:探索网络安全领域的各种角色

本文旨在为对网络安全领域感兴趣的粉丝读者提供一份全面的职业指南。我们将探讨网络安全领域中各种不同的职业角色&#xff0c;包括其职责、所需技能以及职业发展路径&#xff0c;帮助你了解网络安全领域的职业选择&#xff0c;并为你的职业规划提供参考。网络安全职业概览 身处…

Design Vision:显示扇入/扇出逻辑

相关阅读 Design Visionhttps://blog.csdn.net/weixin_45791458/category_13006970.html?spm1001.2014.3001.5482 在使用Design Vision中查看示意图时&#xff0c;可以在示意图中查看所选单元(Cell)、引脚(Pin)、端口(Port)或线网(Net)的扇入/扇出逻辑。用户可以在当前激活的…

13.7 Meta LLaMA2-Chat核心技术突破:三重强化学习实现91.4%安全评分,超越ChatGPT的对话模型架构全解析

Meta LLaMA2-Chat核心技术突破:三重强化学习实现91.4%安全评分,超越ChatGPT的对话模型架构全解析 指令微调模型:LLaMA2-Chat 技术深度解析 LLaMA2-Chat 作为 Meta 推出的对话优化大模型,其技术实现展现了大模型对齐(Alignment)领域的前沿突破。与基础版 LLaMA2 相比,该…