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

花花个人赛

我的奖品

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{ 3 ;/* 设置最大宽度 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; 4 ;/* 设置 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; 5 ;/* 设置垂直位移一半,并旋转 45deg,*/ 6 ;/* 设置层级为 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; 7 ;/* 设置盒子大小始终为 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; 8 ;/* 设置边框重叠 */ 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: 9 { 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 = 10 ; 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);
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】通过硬件和软件的功能扩充,把原来独立的设备改造成能为若干用户共享的设备,这种设备称为:
A.
存储设备
B.
系统设备
C.
用户设备
D.
虚拟设备
【单选题】新生儿的性别主要取决于(  )
A.
精子的类型
B.
精子和卵细胞
C.
父亲的体细胞
D.
母亲的体细胞
【单选题】不能重吸收Na离子的是
A.
近曲小管
B.
集合管
C.
远曲小管
D.
髓袢升支细段
E.
髓袢降支细段
【单选题】新生儿的性别主要取决于(  )
A.
母亲的体细胞
B.
精子和卵细胞
C.
父亲的体细胞
D.
精子的类型
【单选题】处于同一概括水平的经验之间的相互影响,称为( )
A.
水平迁移
B.
垂直迁移
C.
同化迁移
D.
一般迁移
【单选题】通过硬件和软件的功能扩充,把原来独立的设备改造成能为若干用户共享的设备,这种设备称为()。
A.
用户设备
B.
存储设备
C.
虚拟设备
D.
系统设备
【单选题】一个模块把数值作为参数传送给另一个模块,这种耦合方式称为 ( )
A.
数据耦合
B.
公共耦台
C.
控制耦合
D.
非直接耦合
【单选题】哪项不是羊水栓塞病人可能的护理诊断
A.
潜在并发症:急性肾衰竭
B.
气体交换受损
C.
组织灌注量不足
D.
有胎儿窘迫的危险
E.
体液过多
【单选题】下列关于葡萄糖重吸收的叙述,错误的是(    )
A.
只有近端小管可以重吸收
B.
与Na + 的重吸收相耦联
C.
是一种主动转运过程
D.
近端小管重吸收葡萄糖能力有一定限度
E.
正常情况下,近端小管不能将肾小球滤出的糖全部重吸收
【单选题】由于处于同一概括水平的经验之间的相互影响而发生的迁移称为
A.
顺向迁移
B.
逆向迁移
C.
水平迁移
D.
垂直迁移
相关题目: