当前位置: 首页 > news >正文

做网站学习什么重庆观音桥步行街

做网站学习什么,重庆观音桥步行街,中国最好的建筑设计公司,手机制作图片的软件免费文章目录 前言第四题第五题第六题第七题第八题第九题第十题#xff08;子标签#xff09; 前言 昨天写了前面三次作业#xff0c;今天把剩下的七个作业写完 第四题 http://127.0.0.1:5500/index1.html#xff0c;就用这个网址查看代码在网页的展示效果 代码评测过不了子标签 前言 昨天写了前面三次作业今天把剩下的七个作业写完 第四题 http://127.0.0.1:5500/index1.html就用这个网址查看代码在网页的展示效果 代码评测过不了但是代码没有问题试了好几个浏览器也尝试了手机端不管了 !DOCTYPE html html langenheadmeta charsetUTF-8meta http-equivX-UA-Compatible contentIEedgemeta nameviewport contentwidthdevice-width, initial-scale1.0titleDocument/titlestylediv {width: 300px;height: 300px;}div:nth-child(1) {border-width: 10px;border-style: solid dotted inset dashed;border-color: blue red blue red;border-radius: 50%;}div:nth-child(2) {border: solid 3px black;border-radius: 10px;}/style /headbodydiv/divdiv/div /body/html第五题 修改之前的网页 !DOCTYPE html html langenheadmeta charsetUTF-8meta http-equivX-UA-Compatible contentIEedgemeta nameviewport contentwidthdevice-width, initial-scale1.0titleDocument/titlestyle.container {display: block;width: 500px;height: 500px;padding: 10px;margin: 20px;background-color: lightblue;}.inline-block-div {display: inline-block;width: 100px;height: 100px;padding: 10px;margin: 10px;background-color: blue;color: white;}span {display: inline;padding-left: 10px;padding-right: 10px;margin-left: 20px;margin-right: 20px;background-color: bisque;color: green;}.block-div {display: block;width: 100px;height: 100px;padding: 10px;margin: 10px;background-color: blue;color: white;overflow: hidden;text-overflow: ellipsis;}/style /headbodydiv classcontainerdiv classinline-block-divdiv-1/divdiv classinline-block-divdiv-2/divdiv classinline-block-divdiv-3/divbrspanspan-1/spanspanspan-2/spanspanspan-3/spanbrdiv classblock-div123456789101112/div/div /body/html第六题 修改之前 !DOCTYPE html html langenheadmeta charsetUTF-8meta http-equivX-UA-Compatible contentIEedgemeta nameviewport contentwidthdevice-width, initial-scale1.0titleDocument/titlestylediv {width: 100px;height: 100px;background-color: lightsalmon;}div:nth-child(1) {padding: 10px 20px 30px 40px;margin: 10px 20px 30px 40px;}div:nth-child(2) {margin: 0 auto;}/style /headbodydiv文本1/divdiv文本2/div /body/html第七题 修改之前 !DOCTYPE html html langenheadmeta charsetUTF-8meta http-equivX-UA-Compatible contentIEedgemeta nameviewport contentwidthdevice-width, initial-scale1.0titleDocument/titlestylediv {width: 300px;height: 300px;padding: 10px;margin: 10px;background-color: lightblue;border: solid 10px gray;}div:nth-child(1) {box-sizing: content-box;}div:nth-child(2) {box-sizing: border-box;}/style /headbodydiv1/divdiv2/div /body/html第八题 修改之前效果 !DOCTYPE html html langenheadmeta charsetUTF-8meta http-equivX-UA-Compatible contentIEedgemeta nameviewport contentwidthdevice-width, initial-scale1.0titleDocument/titlestylebody {height: 2000px;margin: 0;}div {width: 200px;height: 200px;background-color: lightblue;margin: 20px;}div:nth-child(1) {position: static;}div:nth-child(2) {position: relative;left: 50px;top: 15px;}div:nth-child(3) {position: absolute;background-color: rgba(0, 0, 255, 0.5);left: 30px;top: 30px;}div:nth-child(4) {position: fixed;background-color: rgba(0, 255, 0, 0.5);left: 100px;top: 250px;}div:nth-child(10) {position: sticky;background-color: rgba(255, 0, 0, 0.5);bottom: 10px;}/style /headbodydiv1/divdiv2/divdiv3/divdiv4/divdiv5/divdiv6/divdiv7/divdiv8/divdiv9/divdiv10/div /body/html修改之后 第九题 修改之前 !DOCTYPE html html langenheadmeta charsetUTF-8meta http-equivX-UA-Compatible contentIEedgemeta nameviewport contentwidthdevice-width, initial-scale1.0titleDocument/titlestyle.container {width: 500px;height: 500px;background-color: lightblue;}.item {width: 100px;height: 100px;margin: 10px;background-color: lightcoral;float: left;}.next-line {width: 150px;height: 150px;background-color: rgba(0, 0, 255, 0.5);clear: left;}/style /headbodydiv classcontainerdiv classitem/divdiv classitem/divdiv classitem/divdiv classitem/divdiv classitem/divdiv classnext-line/div/div /body/html修改之后的样式 第十题子标签 修改之前的样式 !DOCTYPE html html langenheadmeta charsetUTF-8meta http-equivX-UA-Compatible contentIEedgemeta nameviewport contentwidthdevice-width, initial-scale1.0titleDocument/titlestyle.container {display: flex;width: 50%;height: 500px;background-color: lightblue;margin: 10px;}.containerdiv {width: 120px;height: 120px;}.containerdiv:nth-child(odd) {background-color: lightsalmon;}.containerdiv:nth-child(even) {background-color: lightgreen;}.container:nth-child(1) {flex-wrap: wrap;justify-content: space-between;align-content: flex-start;}.container:nth-child(2) {flex-direction: row-reverse;flex-wrap: nowrap;}.container:nth-child(2)div:nth-child(odd) {flex-grow: 3;flex-shrink: 3;}.container:nth-child(2)div:nth-child(even) {flex-grow: 1;flex-shrink: 1;}/style /headbodydiv classcontainerdiv1/divdiv2/divdiv3/divdiv4/divdiv5/divdiv6/div/divdiv classcontainerdiv1/divdiv2/divdiv3/divdiv4/divdiv5/divdiv6/div/div /body/html修改之后的样式
http://www.hkea.cn/news/14533907/

相关文章:

  • 免费自助建站源码做收钱的网站要什么条件
  • 手机网站建设软件有哪些方面网站建设"淘宝网" 在颜色选取和搭配方面有哪些值得学习的地方.
  • 婚恋网站女孩子做美容郑州睿网站建设
  • 鞍山做网站的公司网站首页被k 内页还有
  • 电商网站开发的功能建设工程 法律 网站
  • 盐城网站开发代理商事件营销的步骤
  • 网站打开速度很慢做淘宝一件代发的网站
  • 网站建设与管理报告泰安网站建设制作电话号码
  • 建设行政管理部门网站怎们自己做网站
  • 吴川网站开发公司福州seo网站优化
  • 汽车网站管理系统wordpress自动博客
  • 哪个网站做自媒体比较好十大装修公司排名哪家最好
  • 昆山做网站的jofuns购物车网站源码
  • 免费模板网站wordwordpress哪个主题适合做网址导航
  • 扁平手机网站wordpress导入微信
  • dede修改网站密码wordpress主题图片不居中
  • 广州网站推广自助wordpress 导航栏 搜索
  • 书画协会网站建设莱芜网站优化公司
  • 在线网站seo优化局域网里做网站
  • 梧州网站建设费用wordpress实现新闻列表
  • 如何网站托管disqus wordpress
  • 天津电力建设公司网站南阳网站建设icp备
  • 高大上的企业网站wordpress动态图
  • wordpress站点主页哪些网站在哪找的
  • 做拆分盘网站长春定制建站企业网站
  • 网站建设分析书引言我是做环保类产品注册哪些浏览量大的网站推销自己的产品比较好呢
  • 营销型网站套餐六安做网站seo
  • 万州房地产网站建设建筑人才招聘
  • 网站建站报告快站优惠券app
  • 企业网站优化多少钱怎么干电商创业从零开始