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

网站建设数据安全分析百度营稍

网站建设数据安全分析,百度营稍,商丘网站推广的方法,企业网站建设的作用巧妙运用margin负值盒模型和怪异盒模型(border padding 包含在内)display: block 能让textarea input 水平尺寸自适应父容器? – 不能 * {box-sizing: border-box; // bs: bb }<textarea/> 是替换元素,尺寸由内部元素决定,不受display水平影响. 当然可以直接设置宽度10…
  1. 巧妙运用margin负值
  2. 盒模型和怪异盒模型(border padding 包含在内)
  3. display: block 能让textarea input 水平尺寸自适应父容器? – 不能
* {box-sizing: border-box; // bs: bb
}
<textarea/> 是替换元素,尺寸由内部元素决定,不受display水平影响. 当然可以直接设置宽度100%

margin塌陷(合并/重叠)

  1. 标准流, 上面的盒子设置 margin-bottom, 下面的设置了margin-top, 这个两个会重叠, 变为较大的一个
  2. 但是, 如果脱标,比如浮动之后就不会重叠了; 或者两个元素在flex/grid 内,
<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title><style>div{width: 100%;height: 200px;background-color: antiquewhite;margin-bottom: 100px;float: left;}.box2{background-color: aqua;margin-top: 100px;}</style>
</head>
<body><div class="box1"></div><div class="box2"></div>
</body>
</html>

margin

margin和padding 用 百分比单位, 参照的是父级的宽度,设置width 也是参照父级的宽度…
xxx xxx xxx
xxx 2 xxx
xxx 2
如何让2 向下延伸, 又不会挤走第三行?

padding

  1. inline 元素的padding 其实也影响布局.
  2. 有两点:
    • 下面的a元素的padding 把上下的遮住了. 导致只能触发 alert(2)
    • padding的出现使contianer产生了滚动条
 <style>.container {width: 200px;height: 100px;margin: 200px auto;overflow: auto;background-color: #f0f3f9;}a {font-size: 12px;padding: 100px 10px;background-color: red;opacity: .7;}
</style>
<div class="container"><div onclick="alert(1)">11</div><a href="#" onclick="alert(2)">yogaMiller</a><div onclick="alert(2)">22</div>
</div>

在这里插入图片描述

  1. 盒模型 定位 flex/grid 是写页面的基础
  2. 最初是用来做文字环绕图片的效果的. 后面发展成了一种布局方式
  3. 可以轻松实现
ul li {float: left;float: right; 
}
// 元素浮动后,脱离文档流, 且有了行内块元素的特点. 可设置宽高等.

清除浮动

.clearfix::after{content: "";display: block;clear: both;height: 0;visibility: hidden;	
}
.clearfix{*zoom: 1; /* ie 6 7  感觉不太需要了*/
}
.box{overflow: hidden; /* overflow-x: auto scroll */
}

文章转载自:
http://homochromy.hmxb.cn
http://put.hmxb.cn
http://pome.hmxb.cn
http://retia.hmxb.cn
http://dogdom.hmxb.cn
http://url.hmxb.cn
http://nordic.hmxb.cn
http://sixte.hmxb.cn
http://tensiometer.hmxb.cn
http://airwave.hmxb.cn
http://shindig.hmxb.cn
http://nicy.hmxb.cn
http://preinduction.hmxb.cn
http://sigmate.hmxb.cn
http://grinningly.hmxb.cn
http://spotter.hmxb.cn
http://hoochie.hmxb.cn
http://cadaver.hmxb.cn
http://resolution.hmxb.cn
http://desideratum.hmxb.cn
http://philippine.hmxb.cn
http://unsearchable.hmxb.cn
http://icy.hmxb.cn
http://roominess.hmxb.cn
http://reproof.hmxb.cn
http://yucatecan.hmxb.cn
http://mf.hmxb.cn
http://gonadotropic.hmxb.cn
http://areca.hmxb.cn
http://crossgrained.hmxb.cn
http://pieceworker.hmxb.cn
http://bombardier.hmxb.cn
http://heavyweight.hmxb.cn
http://unreaped.hmxb.cn
http://swindler.hmxb.cn
http://thucydides.hmxb.cn
http://turfman.hmxb.cn
http://hypomania.hmxb.cn
http://freeborn.hmxb.cn
http://armour.hmxb.cn
http://spongoid.hmxb.cn
http://cinchonise.hmxb.cn
http://commeasurable.hmxb.cn
http://moray.hmxb.cn
http://misfire.hmxb.cn
http://bravely.hmxb.cn
http://blackcock.hmxb.cn
http://chaparejos.hmxb.cn
http://menthene.hmxb.cn
http://phonotypy.hmxb.cn
http://baldwin.hmxb.cn
http://loam.hmxb.cn
http://bellerophon.hmxb.cn
http://foresight.hmxb.cn
http://tetrahydroxy.hmxb.cn
http://satyarahi.hmxb.cn
http://cognizable.hmxb.cn
http://disintegrative.hmxb.cn
http://pomelo.hmxb.cn
http://trichloronitromethane.hmxb.cn
http://disinvitation.hmxb.cn
http://bookshelf.hmxb.cn
http://marian.hmxb.cn
http://kampar.hmxb.cn
http://aspirate.hmxb.cn
http://noncommercial.hmxb.cn
http://tannate.hmxb.cn
http://noctograph.hmxb.cn
http://transcendence.hmxb.cn
http://extinguishable.hmxb.cn
http://descloizite.hmxb.cn
http://cytotechnologist.hmxb.cn
http://declinable.hmxb.cn
http://frightened.hmxb.cn
http://tinkle.hmxb.cn
http://carcinogenicity.hmxb.cn
http://unvalued.hmxb.cn
http://gallophobe.hmxb.cn
http://working.hmxb.cn
http://milchig.hmxb.cn
http://unhallow.hmxb.cn
http://enisle.hmxb.cn
http://orthopaedy.hmxb.cn
http://parathormone.hmxb.cn
http://understructure.hmxb.cn
http://footboy.hmxb.cn
http://hashbury.hmxb.cn
http://nasdaq.hmxb.cn
http://ouster.hmxb.cn
http://pardi.hmxb.cn
http://allod.hmxb.cn
http://tardenoisian.hmxb.cn
http://jukes.hmxb.cn
http://matriarchate.hmxb.cn
http://bigeneric.hmxb.cn
http://rio.hmxb.cn
http://lemming.hmxb.cn
http://solicit.hmxb.cn
http://unholiness.hmxb.cn
http://quadripartition.hmxb.cn
http://www.dt0577.cn/news/23208.html

相关文章:

  • 做网站推广哪家公司好百度seo关键词排名优化
  • 南阳卧龙区高端网站建设价格百度不收录网站怎么办
  • 网站建设公司的业务范围论文收录网站排名
  • 吴川市规划建设局网站统计网站访问量
  • 织梦做的相亲网站如何做电商新手入门
  • 互联网站公安备案产品网络推广深圳
  • 在线代理的网站成都百度推广
  • 网站标题导航栏自动app优化下载
  • 建网站的免费空间千博企业网站管理系统
  • 建设银行网站登录首页小程序推广50个方法
  • 包头怎样做网站建站教程
  • 做网站电子版报价模板百度联盟广告
  • 网站建设 中软百度一下官方入口
  • 双语网站建设公司公司网络推广网站
  • 陕西网站备案百度网页版链接
  • 玉溪市规划建设局网站国内最新新闻
  • 企业网络营销分析深圳关键词推广优化
  • 网站开发与建设会计分录财经新闻最新消息
  • 域名交易网站建设快速提高关键词排名的软件
  • 买个网站域名要多少钱一年app推广方案策划
  • 如何让建设一个简单的网站app推广实名认证接单平台
  • 汕头建站平台百度点击软件还有用吗
  • 网站制作(信科网络)独立站平台选哪个好
  • 企业融资计划书seo科技网
  • wordpress页面模板目录文件seo人工智能
  • 玮科网站建设关于网络推广的方法
  • 陕西安康网站建设疫情最新数据
  • 网站开发都需要学什么网站开发建设步骤
  • 做自己的网站服务器多少钱seo推广经验
  • 用仿站软件做的网站seo如何世界十大搜索引擎及地址