html css 制作网站,HTML/CSS制作网页
HTML/CSS代码练习
要求效果图
polo360.jpg
用ps裁剪提取要用的图片
3.png
html代码
polo360练习
Lorem ipsum dolor sit amet, consectetur adipisicing elit
Perfect Logic
All you want your website to do.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
Learn More
Complete Solution
A tool anything and everything you can think
Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciun tdolore magnam aliquam quaerat voluptatem.
Learn More
Uber Culture
Fresh. Modern and ready for future
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Learn More
Social Connection
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium
Newsletter
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium
Subscribe
Contact
Send it
News Updates
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium.
Visit our Blog
reset css代码
/* v2.0 | 20110126
http://meyerweb.com/eric/tools/css/reset/
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
网页css代码
body{
background: url(../img/polo360.png.png) repeat-x;
}
.clearfix:after,.clearfix:before{
content: "";
display: table;
clear: both;
}
.w{
width: 940px;
margin: 0 auto;
}
.header{
padding-top: 37px;
padding-bottom: 46px;
}
.logo{
margin-left: 15px;
}
.nav{
float: right;
margin-top: 22px;
}
.nav li{
float: left;
padding: 0 10px 8px;
border-left:1px #d6d6d6 dotted ;
}
.nav a{
font: bold 14px Georgia ;
text-decoration: none;
color: #666;
}
.nav a:hover{
color: #c3bfbf;
text-decoration: underline;
}
.nav p{
font: 11px Tahoma regular;
color: #b7b7b7;
}
.banner{
height: 356px;
background: url(../img/4.png) no-repeat bottom center;
position: relative;
}
.pointerDiv{
position: absolute;
left: 15px;
top: 314px;
}
.pointerDiv a{
float: left;
width: 17px;
height: 17px;
background: url(../img/5.png) no-repeat;
margin-left: 4px;
}
.pointerDiv .active,
.pointerDiv a:hover{
background: url(../img/6.png) no-repeat;
}
.content{
}
.content h1{
text-align: center;
font: 24px Georgia bold;
color: black;
padding: 6px 0 20px 0;
background: url(../img/7.png) no-repeat bottom;
margin-bottom:38px ;
}
.content .pl , .content .cs , .content .uc,
.contact .sc,.contact .co,.contact .nu{
float: left;
width: 300px;
}
.content .cs,.contact .co{
margin: 0px 20px;
}
.content h2{
font: 21px georgia regular;
color: #11719e;
}
.content .p1{
font: Myriad Pro regular 12px;
color:#8c8c8c;
}
.content .imgDiv{
width: 299px;
height: 190px;
background: url(../img/8.png) no-repeat;
margin: 16px 0 10px;
/*设置图片位置居中*/
text-align: center;
padding-top: 12px;
}
.content .p2{
height: 92px;
color: #3e3e3e;
font: 13px helvetica;
}
.content .lm{
display: block;
width: 163px;
height: 40px;
background: url(../img/12.png) no-repeat;
text-decoration: none;
color: #016999;
font: 12px/40px helvetica;
text-indent: 1em;
margin-bottom: 35px;
}
.contact{
background: url(../img/4.png) no-repeat top center;
}
.contact .sc,.contact .co,.contact .nu{
height: 382px;
}
.contact .txt{
width: 276px;
height: 33px;
background: url(../img/13.gif) no-repeat;
border: none;
padding: 0px 10px;
margin: 3px 0 16px;
}
.contact .tarea{
width: 276px;
height: 114px;
background: url(../img/14.png) no-repeat;
border: none;
resize: none;
padding: 10px;
margin: 0px;
}
.contact .btn{
width: 163px;
height: 32px;
background: url(../img/15.png) no-repeat;
border: none;
padding: 0px;
margin: 11px 0 23px;
color: #fff;
font: 13px georgia;
text-align: left;
text-indent: 1em;
cursor: pointer;
}
.contact .btn:hover{
color: yellow;
}
.contact h2{
color: #444444;
font: 18px/1 georgia ;
border-bottom: 1px dashed #d3d3d3;
padding: 44px 0 10px;
margin-bottom: 15px;
}
.sc .p1{
color: #444444;
font: 12px/1 helvetica;
}
.sc .icon{
font-size: 0px;
margin-top: 10px;
}
.sc .icon a{
margin-right: 2px;
}
.sc .nl{
font: 18px/1 bold "gill sans mt";
padding: 28px 0 8px;
}
.sc .txt{
margin: 18px 0 0px;
}
.nu p{
color: #444;
font:12px/1 helvetica ;
height: 58px;
border-bottom: 1px dashed #d3d3d3;
margin-bottom: 14px;
padding-bottom: 12px;
}
.nu .no-margin{
margin-bottom: 0px;
padding-bottom:9.5px ;
}
.nu img{
float:left;
margin-right: 8px;
}
.footer{
height: 173px;
background: #333;
border-top: solid 10px #4c4c4c;
}
.footer a,.footer p{
font: 11px Myriad Pro;
color: #999;
text-decoration: none;
}
.footer .w{
padding-top: 18px;
}
.footer p{
margin-left: 8px;
margin-right: 23px;
margin-bottom: 6px;
}
.footer .copy{
float: right;
}
.footer a:hover{
text-decoration: underline;
color: #cccaca;
}
结果展示:
1.png
2.png
当然光有源码是不行的,还要有剪切的图片
1.png
3.png
4.png
5.png
6.png
7.png
8.png
9.gif
10.jpg
11.jpg
12.png
13.gif
14.png
15.png
16.jpg
17.jpg
18.jpg
19.jpg
20.jpg
21.jpg
22.jpg
23.jpg
polo360.png.png
我已将该源码和图片上传至网盘中,网盘下载链接:
HTML/CSS制作网页练习
html css 制作网站,HTML/CSS制作网页相关推荐
- 如何自制网页服务器,如何自己制作网站?如何制作自己的网页?
如何自己制作网站?如何制作自己的网页?首先,你是非开发者,你需要知道做一个网页要采取哪些步骤.下面一起来看看吧! 简单来说,网页制作需要的内容如下:页面设计.前端开发.后端开发(如果只是简单的介绍页面 ...
- 使用div和css重构网站,DIV+CSS网页重构概念详解
本文和大家重点讨论一下DIV+CSS网页重构的概念,常为了说明与HTML网页设计语言中的表格(table)定位方式的区别,因为XHTML网站设计标准中,不再使用表格定位技术,而是采用DIV+CSS的方 ...
- 织梦html的网站地图怎么制作,网站地图如何制作?网站地图的制作与提交方法...
一.网站地图的种类 1.用户地图:给用户看的地图,用户地图可以理解为平常大家看到的网站导航. 2.蜘蛛地图:给蜘蛛看的地图,给蜘蛛也做一个网站导航,方便蜘蛛像用户一样方便抓取网页. 二.制作网站地图 ...
- 企业怎么制作网站?怎么制作网站教程步骤
企业情况下,企业制作网站会有一套合理的制作网站教程步骤.虽然任何企业制作网站都不会有固定的模式,但是遵循这些指导制作网站教程的步骤,至少可以提高企业建设网站的效率,同时也可以减少网站建设过程中出现的错 ...
- html %3cstyle%3e 添加css,从网站适应CSS样式到一个Django香脆形式复选框
我使用的引导,我在里面有一个复选框的Django香脆的形式,在html看起来是这样的:从网站适应CSS样式到一个Django香脆形式复选框 Include some data. 我无法适应以下CSS类 ...
- 如何制作网站?如何制作网站教程
如果公司企业想要知道如何制作网站,那么需要了解一些相关的内容.本文将介绍如何制作网站教程,希望对大家有所帮助. 首先我们做好一些准备:域名.建站工具.图文素材.营业执照等资质. 步骤一:创建站点 进入 ...
- 静态HTML网页设计作品`零售食品商城网站(5页) HTML+CSS+JavaScript 网站设计源代码制作素材成品
HTML5期末大作业:零售食品商城网站设计--零售食品商城网站(5页) HTML+CSS+JavaScript 文章目录 HTML5期末大作业:零售食品商城网站设计--零售食品商城网站(5页) HTM ...
- 【Div+CSS笔记】 0x02 css入门
1.Css 的设置字体的样式 text-transform:capitalize 无法再FireFox下正常显示 2.Div css字体 font-family 常用推荐字体 宋体.黑体.Ar ...
- web前端期末大作业(月饼美食网站) html+css+javascript网页设计实例 企业网站制作...
web前端期末大作业(月饼美食网站) html+css+javascript网页设计实例 企业网站制作 临近期末, 你还在为HTML网页设计结课作业,老师的作业要求感到头大?HTML网页作业无从下手? ...
最新文章
- ​“手把手撕LeetCode题目,扒各种算法套路的裤子”
- 写的函数符号表里没有_你有没有想过,C语言 main 函数到底为啥这么写?
- 摆脱“人肉”审核,从0搭建可视化SQL自动审核平台
- unity 在图片的指定位置上添加按钮_Unity-利用免费资源快捷实现第三人称角色控制...
- 打造GTD style的办公环境 V1.0
- [codevs 1034] 家园
- 2、异步HTTP编程
- 简单使用CXF实现webserver(rs的独立发布)
- SE-Resnext网络搭建及预训练模型
- 大地测量球面坐标BLH三个字母的由来含义
- 进程隐藏博文 hook
- linux内核源码系统调用有多少个,Linux内核源码目录介绍
- 玉米社:SEM竞价推广转化成本高?做好细节转化率蹭蹭往上涨
- 关于信息安全认证CISP与CISSP的对比及分析
- 厦门市委书记走访图扑等多家软件企业调研元宇宙产业发展情况
- 【计算机组成原理】计算机组成原理背景
- 完美实现文字图片水平垂直居中
- 中国人保驰茂肥业承保产品责任险,为消费者保驾护航!
- 深度分析,皓丽M5_企业版_增强版共同点与核心区别?
- android隐藏键盘方法,【工具类】Android 最有效的隐藏软键盘方法
热门文章
- SAP 外包和外协业务的区别
- 讲一个历史上真实存在过,数学家们花了好多年才解出来的数学题
- 软件项目管理-项目人力资源管理
- linux日志查看常见方法
- 解决Could not find executable valgrind问题
- 短信验证码平台哪家性价比最好?最稳定?
- java毕业设计少儿编程教育网站系统mybatis+源码+调试部署+系统+数据库+lw
- 两地控制的项目要求_两地控制一盏灯
- 文正机械电子工程专业课_机械电子工程有些什么课程
- hp工作站 安装服务器系统,HP工作站操作系统安装说明.pdf