皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
阅读下列说明、效果图和 HTML 代码,进行静态网页开发,填写( 1 )至( 10 )代码。 【说明】 这个某项目中的其中一个活动页,应用 HTML5 和 css3 技术完成页面的布局。项目包含主页 index.html 、 style.css 和 img,js 文件夹。要求页面的文字随着屏幕的大小变化而变化,根据效果图和已有的代码补全( 1 ) - ( 10 )的代码 【效果图】 【素材】 1-1素材.zip 【代码:主页index.html】 花花个人赛

花花个人赛

我的奖品

3
所有电子券请在10月31日前使用,逾期作废

获奖名单

中奖用户 RP排名 具体奖品
张三 1 一年学费+
特别礼品
23 4个月学费+
特别礼品
35 2个月学费+
特别礼品
38 100元红包+
特别礼品
42 50元红包+
特别礼品
刘一 48 30元红包+
特别礼品
【代码:style.css】 body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,dd{ margin:0; padding:0; } img{ display: block; } .wrap{ ;/*设置最大宽度720px*/ margin:0 auto; background:url("../img/bottomImg.jpg") no-repeat bottom/100% #AAEE99; padding-bottom:4rem; } header{ width: 100%; height: 2rem; background-color: #46BC41; } header h2{ position:relative; margin:0 .8rem; line-height: 2rem; font-size: .7rem; font-weight: normal; padding-left:1rem; color:#fff; } header h2 span{ position:absolute; left:0; top:0.1rem; width: 0.8rem; height: 2rem; background: url("../img/back.jpg") no-repeat center/100%; } .banner{ width: 100%; } .banner img{ width: 100%; } .main{ margin:0 .8rem; padding-top:0.7rem; } .main .prize{ position: relative; width: 100%; height: 2rem; margin-bottom:0.33rem; line-height: 2rem; font-size: 0.5rem; background-color: #CCF4C2; ;/*设置5px的圆角*/ color:#2C6C22; } .main .prize p{ padding:0 2rem; } .main .prize span{ display: block; position: absolute; top:50%; right: 2.5rem; color:#AB431C; font-size: .7rem; transform: translateY(-50%); } .main .prize:after{ content: ""; display: block; position: absolute; top:50%; right: 2rem; width: 0.3rem; height: 0.3rem; border-right:2px solid #2C6C22; border-top:2px solid #2C6C22; ;/*设置垂直位移一半,并旋转45deg,*/ ;/*设置层级为2*/ } .main .description{ width: 100%; background-color: #fff; border:3px dashed #F8E42D; padding:.6rem 2rem; margin-bottom:0.33rem; line-height: 0.8rem; font-size: 0.6rem; color:#0E1B23; ;/*设置盒子大小始终为100%*/ } .main .description span{ color:#C83F2D; } .main .nameList{ margin-bottom:0.33rem; } .main .nameList h2{ position: relative; line-height: 2rem; height: 2rem; text-align: center; font-weight: normal; font-size: 0.7rem; color:#1D6911; } .main .nameList h2 span{ position: relative; background-color:#AAEE99; padding:0 10px; z-index: 1; } .main .nameList h2:after{ content:""; display: block; position: absolute; top:50%; width: 100%; height: 1px; background-color: #8CD07B; z-index: 0; } .main .nameList table{ width: 100%; background-color: #C4F4B8; text-align: center; font-size: .6rem; ;/*设置边框重叠*/ color:#09331F; } .main .nameList table tr td{ border:1px solid #AEDF9E; } .main .nameList table tr td span{ color:#666; } /*设置td的第三列*/ .main .nameList table tr td: { padding:.5rem .6rem; text-align: left; } .main .nameList table th{ width: 33.33%; height: 2rem; background-color: #95E455; color:#fff; font-size: .7rem; font-weight: normal; } 【代码:resetFont.js】 (function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function () { //在以下横线中填写,如何宽度大于720那就按720执行,否则按实际宽 var clientWidth = ; if (!clientWidth) return; docEl.style.fontSize = 20 * (clientWidth / 320) + 'px'; }; if (!doc.addEventListener) return; win.addEventListener(resizeEvt, recalc, false); doc.addEventListener('DOMContentLoaded', recalc, false); })(document, window);
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】Conversation2 第二题
A.
1
B.
2
C.
3
D.
4
【判断题】芜湖铁画源于国画,具有新安画派落笔瘦劲简洁、风格冷峭奇倔的艺术特征,纯靠手工锻打完成。
A.
正确
B.
错误
【单选题】( )被认为是近代石油工业诞生和开端的标志。
A.
延一井
B.
德雷克井
C.
苗一井
D.
松基三井
【单选题】蒋兆和《流民图》绘画手法的特征是( )
A.
完全用中国画传统的技法勾线填彩完成
B.
中国画笔墨技巧吸收西方写实绘画光影、明暗、体积等要素,塑造形象生动的写实人物。
C.
工整细致,颜色艳丽,是重彩人物画法
D.
人物变形夸张,强调装饰性
【多选题】影响药物溶解度额度因素
A.
温度
B.
溶剂的性质
C.
溶剂量
D.
药物的晶型
E.
药物的分子量
【单选题】在承受自重和使用荷载下构件的弯曲挠度不会超过许可值,指的是构件要具有足够的
A.
强度
B.
刚度
C.
隔热
D.
隔声
【单选题】conversation1 第二题
A.
1
B.
2
C.
3
D.
4
【单选题】下列哪个选项是注意稳定性的品质特点()
A.
广度
B.
强度
C.
时间
D.
空间
【判断题】为了巩固自己大独裁者的地位,墨索里尼决心以立法的形式来确定法西斯党的一党独裁
A.
正确
B.
错误
【单选题】conversation2 第二题
A.
1
B.
2
C.
3
D.
4
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题