当前位置:网站首页>Comprehensively design an oppe homepage -- page service part
Comprehensively design an oppe homepage -- page service part
2022-07-28 17:02:00 【(-^_^-)】
analysis : Five parts In the same form Except for the content --------------- Use list to do -ul-li
There are pictures and words in every list ------ Mixed arrangement of pictures and texts ---- Use dl-----dt picture dd written words
HTML
<!-- The service part of the page -->
<div id="service">
<div class="container">
<ul>
<li class="service0">
<dl>
<dt></dt>
<dd class="dd1"> Genuine protection </dd>
<dd class="dd2"> All goods are original </dd>
</dl>
</li>
<li class="service1">
<dl>
<dt></dt>
<dd class="dd1">79 Package mail from yuan </dd>
<dd class="dd2"> Efficient direct logistics distribution </dd>
</dl>
</li>
<li class="service2">
<dl>
<dt></dt>
<dd class="dd1">7 Day return and exchange </dd>
<dd class="dd2"> Support 7 Day return ,30 I'd like to exchange it in a few days </dd>
</dl>
</li>
<li class="service3">
<dl>
<dt></dt>
<dd class="dd1">285 Self raising point </dd>
<dd class="dd2"> Relaxed and comfortable , Covering all major cities </dd>
</dl>
</li>
<li class="service4">
<dl>
<dt></dt>
<dd class="dd1">365 Customer service outlets </dd>
<dd class="dd2"> All goods are original </dd>
</dl>
</li>
</ul>
</div>
</div>CSS
/**************************************************
***************** Style of the service part of the page **************
***************************************************/
#service{
height: 100px;
background-color: #fff;
}
#service dl{
width: 200px;
height: 100px;
/*border: 1px solid #000;*/
position: relative; /* Use... For the positioning of the following image parts relative*/
}
#service dl dt{ /* Picture part */
width: 42px;
height: 42px;
background: url("../img/icons.png") no-repeat 0px -44px;
position: absolute ;
top: 30px;
left: 10px;
}
#service .service1 dt:nth-child(1){
background: url("../img/icons.png") no-repeat -51px -44px;
}
#service .service2 dt:nth-child(1){
background: url("../img/icons.png") no-repeat -100px -44px;
}
#service .service3 dt:nth-child(1){
background: url("../img/icons.png") no-repeat -152px -44px;
}
#service .service4 dt:nth-child(1){
background: url("../img/icons.png") no-repeat -200px -41px;
}
#service dl .dd1{
position: absolute ;
top: 30px;
left: 60px;
font-weight: bold;
}
#service dl .dd2{
position: absolute ;
top: 50px;
left: 60px;
color: #aaa;
font-size: 12px;
}
#service li{
float: left;
margin: 0px 10px;
transition:all 0.3s linear ;
}
#service li:hover{
transform: translateY(-10px);
}
#service ul{
width: 1110px;
margin: 0 auto;
height: 100px;
border-bottom: 1px solid #666;
}Realization effect :

边栏推荐
- 关于 CMS 垃圾回收器,你真的懂了吗?
- 做题笔记3(二分查找)
- Hdu1847 problem solving ideas
- 【从零开始学习SLAM】将坐标系变换关系发布到 topic tf
- Interesting kotlin 0x09:extensions are resolved statically
- Redis series 4: sentinel (sentinel mode) with high availability
- Efficiency comparison of three methods for obtaining timestamp
- Interesting kotlin 0x06:list minus list
- Deep understanding of deepsea and salt deployment tools – storage6
- 记录开发问题
猜你喜欢

MySQL 5.7 and sqlyogv12 installation and use cracking and common commands
![[deep learning]: day 5 of pytorch introduction to project practice: realize softmax regression from 0 to 1 (including source code)](/img/19/18d6e94a1e0fa4a75b66cf8cd99595.png)
[deep learning]: day 5 of pytorch introduction to project practice: realize softmax regression from 0 to 1 (including source code)

【深度学习】:《PyTorch入门到项目实战》第九天:Dropout实现(含源码)

Quickly master kotlin set functions

Egg (19): use egg redis performance optimization to cache data and improve response efficiency

Technology sharing | how to recover the erroneously deleted table and the data in the table?

【深度学习】:《PyTorch入门到项目实战》第五天:从0到1实现Softmax回归(含源码)

Cluster construction and use of redis5

Binary representation of negative integers and floating point numbers

关于 CMS 垃圾回收器,你真的懂了吗?
随机推荐
Brother Ali teaches you how to correctly understand the problem of standard IO buffer
[deep learning]: model evaluation and selection on the seventh day of pytorch introduction to project practice (Part 1): under fitting and over fitting (including source code)
有趣的 Kotlin 0x08:What am I
MD5加密验证
Leetcode learn to insert and sort unordered linked lists (detailed explanation)
Efficiency comparison of three methods for obtaining timestamp
The local area network cannot access the Apache server
做题笔记2(两数相加)
Oracle table partition
Binary representation of negative integers and floating point numbers
Introduction and implementation of stack (detailed explanation)
TCP handshake, waving, time wait connection reset and other records
Hdu1847 problem solving ideas
Interesting kotlin 0x0a:fun with composition
综合设计一个OPPE主页--页面服务部分
有趣的 Kotlin 0x0A:Fun with composition
[deep learning]: introduction to pytorch to project practice: simple code to realize linear neural network (with code)
leetcode9. 回文数
向高通支付18亿美元专利费之后,传华为向联发科订购了1.2亿颗芯片!官方回应
First day of QT study
