当前位置:网站首页>41 picture background synthesis - colorful navigation map
41 picture background synthesis - colorful navigation map
2022-07-25 14:43:00 【hello_ sunny123】

Code :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Case study </title>
<style> .nav a {
display: inline-block; width: 120px; height: 58px; background-color: pink; /* The essence is to make h1 The text inside the box is horizontally centered */ text-align: center; /* The essence is to make h1 The text inside the box is vertically centered */ line-height: 48px; /* Don't underline */ text-decoration: none; color: #fff; } .nav .bg1 {
background: url(images/bg1.png) no-repeat; } .nav .bg1:hover {
background-image: url(images/bg11.png); } .nav .bg2 {
background: url(images/bg2.png) no-repeat; } .nav .bg2:hover {
background-image: url(images/bg22.png); } .nav .bg3 {
background: url(images/bg3.jpg) no-repeat; } .nav .bg3:hover {
background-image: url(images/bg1.png); } .nav .bg4 {
background: url(images/bg4.png) no-repeat; } .nav .bg4:hover {
background-image: url(images/bg2.png); } .nav .bg5 {
background: url(images/bg5.png) no-repeat; } .nav .bg5:hover {
background-image: url(images/bg4.png); } </style>
</head>
<body>
<div class="nav">
<!-- shift+Alt Press and hold , Then press # -->
<a href="#" class="bg1"> Colorful navigation </a>
<a href="#" class="bg2"> Colorful navigation </a>
<a href="#" class="bg3"> Colorful navigation </a>
<a href="#" class="bg4"> Colorful navigation </a>
<a href="#" class="bg5"> Colorful navigation </a>
</div>
</div>
</body>
</html>
result

边栏推荐
- The input input box of H5 page pops up the numeric keypad, which needs to support decimal points
- I2C设备驱动程序的层次结构
- Paddlenlp's UIE relationship extraction model [executive relationship extraction as an example]
- Qt connect 中, SIGNAL,SLOT 与 lambda 对比
- Huawei ENSP router static route (the next hop address of the default route)
- 51单片机学习笔记(1)
- 为什么中建、中铁都需要这本证书?究竟是什么原因?
- 06、类神经网络
- Awk from getting started to digging in (20) awk parsing command line parameters
- awk从入门到入土(20)awk解析命令行参数
猜你喜欢

Gameframework making games (II) making UI interface

牛客多校 E G J L

Go language founder leaves Google

机械制造业数字化新“引擎”供应链协同管理系统助力企业精细化管理迈上新台阶

基于PaddleOCR开发uni-app离线身份证识别插件

The security market has entered a trillion era, and the security B2B online mall platform has been accurately connected to deepen the enterprise development path

Deng Qinglin, a technical expert of Alibaba cloud: Best Practices for disaster recovery and remote multi activity across availability zones on cloud

44 新浪导航 ,小米边栏 练习

IDEA报错 Failed to determine a suitable driver class

Vs2017 large factory ERP management system source code factory general ERP source code
随机推荐
MySQL 45讲 | 06 全局锁和表锁 :给表加个字段怎么有这么多阻碍?
为什么中建、中铁都需要这本证书?究竟是什么原因?
spark参数调整调优
二维数组赋初值你会几种方法?
Huawei ENSP router static route (the next hop address of the default route)
32 chrome调试工具的使用
Practical guide for network security emergency response technology (Qianxin)
L1和L2正则化
Thymeleaf setting disabled
牛客多校 E G J L
Awk from getting started to digging in (20) awk parsing command line parameters
D2. picking carrots (hard version) (one question per day)
(原创)自定义一个滚屏的RecyclerView
filters获取data中的数据;filters使用data中的数据
云安全技术发展综述
Under the epidemic, the biomedical industry may usher in breakthrough development
The supply chain collaborative management system, a new "engine" of digitalization in machinery manufacturing industry, helps enterprises' refined management to a new level
C language and SQL Server database technology
English语法_不定代词 - other / another
物理量与单位符号的书写标准