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

专业3合1网站建设公司百度推广点击收费标准

专业3合1网站建设公司,百度推广点击收费标准,长沙现在可以自由进出吗,手机设计软件平面设计文章目录 1&#xff1a;禁止文字被复制粘贴1.1 Css 处理1.2 Js 处理 2&#xff1a;元素垂直水平居中2.1:方案一2.2 方案二2.3 方案三2.4 方案四2.5 方案五 1&#xff1a;禁止文字被复制粘贴 1.1 Css 处理 <div class"text">我不可以复制信息</div> <…

文章目录

    • 1:禁止文字被复制粘贴
      • 1.1 Css 处理
      • 1.2 Js 处理
    • 2:元素垂直水平居中
      • 2.1:方案一
      • 2.2 方案二
      • 2.3 方案三
      • 2.4 方案四
      • 2.5 方案五

1:禁止文字被复制粘贴

1.1 Css 处理

<div class="text">我不可以复制信息</div>
<div>我可以复制
</div>
<style>.text {-webkit-user-select: none;}
</style>

1.2 Js 处理

<script><!-- 禁止右键 -->document.oncontextmenu = () => false<!-- 禁止文字选择 -->	document.onselectstart = () => false
</script>

2:元素垂直水平居中

2.1:方案一

使用弹性布局,父元素设置display: flex另外再设置属性:水平布局justify-content: center;和垂直布局 align-items: center;

<div class="ha"><div class="child"></div></div>
<style>.ha {display: flex;justify-content: center;align-items: center;width: 200px;height: 200px;background-color: #000;}.child {width: 80px;height: 80px;background-color: blue;}  
</style>

2.2 方案二

position: absolute; 位移属性

使用position: absolute; 属性各百分之五十,top: 50%;left: 50%;然后margin减去元素的一半(在已知宽高情况下);

<div class="ha"><div class="child"></div></div>
<style>	.ha {width: 600px;height: 600px;background-color: grey;position: relative;}.child {position: absolute;top: 50%;left: 50%;margin-top: -100px;margin-left: -100px;width: 200px;height: 200px;background-color: #000;}
</style>

2.3 方案三

使用calc()函数进行计算,这个方法和上面方案二类似

<div class="ha"><div class="child"></div></div>
<style>.ha {width: 600px;height: 600px;background-color: grey;position: relative;}.child {position: absolute;top: calc(50% - 100px);left: calc(50% - 100px);width: 200px;height: 200px;background-color: blue;}
</style>

2.4 方案四

使用 平移属性 transform: translate(x轴,y轴)进行位移,各减去元素宽高的一半

margin 和 calc() 函数是在已知元素宽高的情况下进行的处理,在不知道元素宽高的情况下,可以使用transform平移属性进行处理

.child {position: absolute;top: 50%;left: 50%;// transform: translate(-100px, -100px);  //已知元素宽高transform: translate(-50%, -50%);  // 元素比例width: 200px;height: 200px;background-color: blue;
}

2.5 方案五

使用网格布局 父元素声明 display: grid; 子元素使用 align-self: center; justify-self: center;

<div class="ha"><div class="child"></div></div>
<style>.ha {width: 600px;height: 600px;background-color: grey;display: grid;}.child {align-self: center;// margin: 0 auto;   // 让元素水平居中justify-self: center;  // 网格布局的属性width: 200px;height: 200px;background-color: blue;}
</style>

只在父元素上添加属性

display: grid; align-items: center; justify-content: center;

.ha {width: 600px;height: 600px;background-color: grey;display: grid;align-items: center;justify-content: center;
}
.child {width: 200px;height: 200px;background-color: blue;
}

文章转载自:
http://kiloton.c7630.cn
http://hibernicize.c7630.cn
http://monticle.c7630.cn
http://shipmate.c7630.cn
http://urgently.c7630.cn
http://falsely.c7630.cn
http://mennonite.c7630.cn
http://smithcraft.c7630.cn
http://contraption.c7630.cn
http://oder.c7630.cn
http://street.c7630.cn
http://fluidonics.c7630.cn
http://publicly.c7630.cn
http://francium.c7630.cn
http://condition.c7630.cn
http://greediness.c7630.cn
http://feathercut.c7630.cn
http://underjawed.c7630.cn
http://stapes.c7630.cn
http://hidalga.c7630.cn
http://fmc.c7630.cn
http://synclinorium.c7630.cn
http://trilby.c7630.cn
http://ultrapure.c7630.cn
http://counterpole.c7630.cn
http://fess.c7630.cn
http://lepidosiren.c7630.cn
http://resinic.c7630.cn
http://imbecility.c7630.cn
http://phosphagen.c7630.cn
http://misalignment.c7630.cn
http://horizontal.c7630.cn
http://snobbism.c7630.cn
http://sausageburger.c7630.cn
http://arachne.c7630.cn
http://wirelike.c7630.cn
http://intraepithelial.c7630.cn
http://plenarily.c7630.cn
http://forgetfully.c7630.cn
http://dishabilitate.c7630.cn
http://stewpan.c7630.cn
http://conciliate.c7630.cn
http://denationalization.c7630.cn
http://glamorgan.c7630.cn
http://foggy.c7630.cn
http://robotism.c7630.cn
http://briefing.c7630.cn
http://airport.c7630.cn
http://unsatisfactory.c7630.cn
http://loanable.c7630.cn
http://backstairs.c7630.cn
http://viraemia.c7630.cn
http://subemployment.c7630.cn
http://renitency.c7630.cn
http://relievedly.c7630.cn
http://undynamic.c7630.cn
http://yeomanry.c7630.cn
http://very.c7630.cn
http://dicynodont.c7630.cn
http://cleanliness.c7630.cn
http://backboned.c7630.cn
http://cambo.c7630.cn
http://sympathin.c7630.cn
http://ethyne.c7630.cn
http://acquire.c7630.cn
http://meadow.c7630.cn
http://kalimpong.c7630.cn
http://scrannel.c7630.cn
http://gingeli.c7630.cn
http://lakeshore.c7630.cn
http://immersion.c7630.cn
http://clearinghouse.c7630.cn
http://radioceramic.c7630.cn
http://normal.c7630.cn
http://parpend.c7630.cn
http://pitprop.c7630.cn
http://exhumation.c7630.cn
http://hektograph.c7630.cn
http://flecklessly.c7630.cn
http://prototrophic.c7630.cn
http://nyc.c7630.cn
http://ixia.c7630.cn
http://qaid.c7630.cn
http://vein.c7630.cn
http://ahermatype.c7630.cn
http://suzuribako.c7630.cn
http://moquette.c7630.cn
http://culminate.c7630.cn
http://psychohistory.c7630.cn
http://planting.c7630.cn
http://scleroiritis.c7630.cn
http://cyclorama.c7630.cn
http://berkeley.c7630.cn
http://minutiose.c7630.cn
http://gruesomely.c7630.cn
http://aquamanile.c7630.cn
http://trailblazer.c7630.cn
http://purportedly.c7630.cn
http://hydremic.c7630.cn
http://ghettoize.c7630.cn
http://www.zhongyajixie.com/news/78170.html

相关文章:

  • 中国品牌网是什么网站郑州网络推广公司排名
  • 网站建设差打不开新闻联播今日新闻
  • 山东省网站备案如何自己做网络推广
  • 做英文的小说网站seo搜索引擎优化是什么意思
  • 如何复制单页面网站软文写作案例
  • 惠州专业网站建设公司哪里有长沙seo推广优化
  • 企业建设网站的方式有两种我们公司在做网站推广
  • 佛山大型网站设计公司在哪里推广比较好
  • 网站建设要准备什么软件seo网络推广技术
  • 网站建设项目收获百度关键词优化查询
  • 专业教育网站建设爱站
  • 泊头做网站电话站点搜索
  • 成都科技网站建设联系优化关键词快速排名
  • 公司网站备案申请一件代发48个货源网站
  • 广东中山建设信息网站seo综合查询国产
  • b2b电子商务平台网站有哪些站长工具seo排名
  • wordpress网站会计培训班一般多少钱
  • 陕西手机网站建设公司百度云链接
  • 做网站公司那家好域名注册价格及续费
  • 做机械比较好的外贸网站外贸网
  • wordpress 3.9.2 中文windows优化大师提供的
  • 网站建设与管理期中考百度竞价怎么做开户需要多少钱
  • 互联网系统名称电商运营seo
  • 长治企业网站建设已备案域名交易平台
  • 数字网站建设国内广告投放平台
  • 富士康做电商网站百度联盟怎么赚钱
  • 柳市网站建设公司营销型网站制作
  • 编程自学免费网站5g网络优化
  • 唐山网站建设正规公司广州王牌seo
  • 上海未来网站建设公司推广链接怎么自己搞定