我是靠谱客的博主 健康书包,这篇文章主要介绍[11]项目实战-PC 端固定布局(11),现在分享给大家,希望可以做个参考。

一.风景欣赏

预览图和首页差不多。具体代码如下:

复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//风景欣赏 HTML 部分 <div class="list scenery"> <section> <h2>风景欣赏</h2> <figure> <img src="img/s1.jpg" alt="曼谷-芭提雅"> <figcaption>曼谷-芭提雅[共 8 张]</figcaption> </figure> <figure> <img src="img/s2.jpg" alt="马尔代夫双鱼岛"> <figcaption>马尔代夫双鱼岛[共 12 张]</figcaption> </figure> <figure> <img src="img/s3.jpg" alt="海南"> <figcaption>海南[共 19 张]</figcaption> </figure> <figure> <img src="img/s4.jpg" alt="富山-大阪-东京"> <figcaption>富山-大阪-东京[共 22 张]</figcaption> </figure> <figure> <img src="img/s5.jpg" alt="法瑞意德"> <figcaption>法瑞意德[共 31 张]</figcaption> </figure> <figure> <img src="img/s6.jpg" alt="巴厘岛"> <figcaption>巴厘岛[共 12 张]</figcaption> </figure> <figure> <img src="img/s7.jpg" alt="塞舌尔迪拜"> <figcaption>塞舌尔迪拜[共 7 张]</figcaption> </figure> <figure> <img src="img/s8.jpg" alt="花样姐姐土耳其"> <figcaption>花样姐姐土耳其[共 14 张]</figcaption> </figure> </section> <div class="more">加载更多...</div> </div>
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//CSS 代码 #container .scenery figure { border: 1px solid #ddd; display: inline-block; padding: 4px; border-radius: 4px; width: 435px; margin: 15px5px 15px 0; text-align: left; } #container .scenery figcaption { text-align: center; padding: 5px0; font-size: 20px; color: #666; }

二.公司简介

复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//全部代码 <div class="list about"> <section> <h2>关于我们</h2> <p>瓢城旅行社旅游网创立于 2006 年 10 月,以“让旅游更简单”为使命,为消费者提供由北京、上海、广州、深圳等64个城市出发的旅游产品预订服务,产品全面,价格透明,全年 365 天 24 小时 400 电话预订,并提供丰富的后续服务和保障。</p><p>目前,瓢城旅行社旅游网提供8万余种旅游产品供消费者选择,涵盖跟团、自助、自驾、邮轮、酒店、签证、景区门票以及公司旅游等,已成功服务累计超过 400 万人次出游。</p><p>同时基于瓢城旅行社旅游网全球中文景点目录以及中文旅游社区,可以更好地帮助游客了解目的地信息,妥善制定好出游计划,并方便地预订旅程中的服务项目。</p> </section> <p>&nbsp;</p> <section> <h2>联系方式</h2> <address> <ul> <li>瓢城旅行社股份有限公司</li> <li>地址:江苏省盐城市亭湖区大庆中路 1234 号</li> <li>邮编:1234567</li> <li>电话:010-88888888</li> <li>传真:010-88666666</li> </ul> </address> </section> </div>
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//CSS 部分 #container .about p { font-size: 20px; color: #666; line-height:2; margin: 20px0; } #container .about address{ font-style: normal; font-size: 20px; color: #666; margin: 20px0; line-height:1.6; }

转载于:https://www.cnblogs.com/pengtdy/p/8306268.html

最后

以上就是健康书包最近收集整理的关于[11]项目实战-PC 端固定布局(11)的全部内容,更多相关[11]项目实战-PC内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(86)

评论列表共有 0 条评论

立即
投稿
返回
顶部