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

网站开发免责合同搜索引擎营销的基本流程

网站开发免责合同,搜索引擎营销的基本流程,视频网站为什么有人做,网站建设文化方案Flex布局 弹性盒子是CSS3的一种新的布局模式&#xff0c;更适合响应式的设计 创建一个弹性盒子容器 使用d-flex类&#xff0c;创建flexbox容器并将直接子项转换为flex项 <div class"d-flex p-3 bg-info text-white"><div class"p-2 bg-secondary"…

Flex布局
弹性盒子是CSS3的一种新的布局模式,更适合响应式的设计
创建一个弹性盒子容器
使用d-flex类,创建flexbox容器并将直接子项转换为flex项

<div class="d-flex p-3 bg-info text-white"><div class="p-2 bg-secondary">弹性项目1 </div><div class="p-2 bg-secondary">弹性项目1 </div><div class="p-2 bg-secondary">弹性项目1 </div>
</div>

在这里插入图片描述

使用d-inline-flex类创建行内flexbox容器

<div class="d-inline-flex p-3 bg-info text-white"><div class="p-2 bg-secondary">弹性项目1 </div><div class="p-2 bg-secondary">弹性项目1 </div><div class="p-2 bg-secondary">弹性项目1 </div>
</div>

在这里插入图片描述
水平方向
.flex-row可以设置弹性子元素水平显示,这是默认的。
使用.flex-row-reverse类用于设置右对齐显示,即与.flex-row方向相反。

<div class="d-flex p-3 bg-info text-white flex-row-reverse"><div class="p-2 bg-secondary">弹性项目1 </div><div class="p-2 bg-secondary">弹性项目1 </div><div class="p-2 bg-secondary">弹性项目1 </div>
</div>

垂直方向
使用.flex-column垂直显示flex项目(彼此堆叠),或使用.flex-column-reverse反转垂直方向

<div class="d-flex flex-column"><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div>
</div>
<div class="d-flex flex-column-reverse"><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div>
</div>

在这里插入图片描述

在这里插入图片描述
换行
默认情况下,项目都排在一条线(又称“轴线”)上,flex-wrap属性定义,如果一条轴线排不下,如何换行?

  • flex-nowrap(默认):不换行。
    在这里插入图片描述

  • flex-wrap:换行,第一行在上方。
    在这里插入图片描述

  • flex-wrap-reverse:换行,第一行在下方。
    在这里插入图片描述

<div class="d-flex mt-3 flex-wrap-reverse bg-info"><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div>
</div>

对齐内容
使用.justify-content-*类可以改变弹性项目的对齐方式,*号允许的值有

  • start(默认)
    在这里插入图片描述

  • end
    在这里插入图片描述

  • center
    在这里插入图片描述

  • between
    在这里插入图片描述

  • around
    在这里插入图片描述

<div class="d-flex mt-3 justify-content-center"><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div>
</div>

使用.align-items-*控制单行弹性项目的垂直对齐方式,*号允许的值有

  • start
    在这里插入图片描述

  • end
    在这里插入图片描述

  • center
    在这里插入图片描述

  • baseline
    在这里插入图片描述

  • stretch(默认值)
    在这里插入图片描述

<div class="d-flex mt-3 align-items-center bg-info" style="height:300px"><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div>
</div>

使用.align-content-*用于控制多行项目的对齐方式,*号允许的值有

  • start
    在这里插入图片描述

  • end
    在这里插入图片描述

  • center
    在这里插入图片描述

  • between
    在这里插入图片描述

  • around
    在这里插入图片描述

  • stretch(默认值)
    在这里插入图片描述

<div class="d-flex mt-3 flex-wrap align-content-start bg-info" style="height:300px;width:600px;"><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div><div class="p-2 bg-danger">弹性项目4 </div><div class="p-2 bg-warning">弹性项目5 </div><div class="p-2 bg-primary">弹性项目6 </div><div class="p-2 bg-danger">弹性项目7 </div><div class="p-2 bg-warning">弹性项目8 </div><div class="p-2 bg-primary">弹性项目9 </div>
</div>

顺序
使用order类可更改特定flex项的视觉顺序,其中最低的数字具有最高的优先级(order-1显示在order-2之前,以此类推)默认为0

<div class="d-flex"><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning order-3">弹性项目2 </div><div class="p-2 bg-primary order-1">弹性项目3 </div>
</div>

在这里插入图片描述

等宽
在flex项目上使用.flex-fill可强制它们等宽

<div class="d-flex"><div class="p-2 bg-danger flex-fill">弹性项目1 </div><div class="p-2 bg-warning flex-fill">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div>
</div>

在这里插入图片描述

伸展
在flex项目上使用.flex-grow-1可占用多余的空间

<div class="d-flex bg-info" style="height:300px; width:500px><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning">弹性项目2 </div><div class="p-2 bg-primary flex-grow-1">弹性项目3 </div>
</div>

在这里插入图片描述
指定子元素对齐
要指定子元素对齐可以使用.align-self-*类来控制,align-self-*属性允许单个项目有其他项目不一样的对齐方式

  • start
  • end
  • center
  • baseline
  • stretch(默认值)
<div class="box d-flex bg-info" style="height:300px; width:500px"><div class="p-2 bg-danger">弹性项目1 </div><div class="p-2 bg-warning align-self-center">弹性项目2 </div><div class="p-2 bg-primary">弹性项目3 </div>
</div>

在这里插入图片描述

响应式flex类
可以根据不同的设备设置flex类,从而实现页面响应式布局,*号可以的值有:sm, md, lg或xl,对应的是小型设备、中型设备、大型设备、超大型设备。

Flex布局练习(骰子模型)
目标效果:
在这里插入图片描述
实现:

<!DOCTYPE html>
<html>
<head>
<title>页面标题</title>
<!-- 新 Bootstrap5 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css"><!--  popper.min.js 用于弹窗、提示、下拉菜单 -->
<script src="https://cdn.staticfile.org/popper.js/2.9.3/umd/popper.min.js"></script>
<style>
.box{height:100px;width:100px;border-radius:20px;
}
.box span{width:20px;height:20px;
}
</style><!-- 最新的 Bootstrap5 核心 JavaScript 文件 -->
<script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container mt-3"><div class="d-flex"><div class="mx-3 box border border-3 border-dark shadow d-flex justify-content-center align-items-center"><span class="bg-dark rounded-circle"></span></div><div class="box border border-3 border-dark shadow d-flex justify-content-around align-items-center flex-column"><span class="bg-dark rounded-circle"></span><span class="bg-dark rounded-circle"></span></div><div class="mx-3 box border border-3 border-dark shadow d-flex p-2 justify-content-center"><span class="bg-dark rounded-circle align-self-start"></span><span class="bg-dark rounded-circle align-self-center"></span><span class="bg-dark rounded-circle align-self-end"></span></div><div class="mx-3 box border border-3 border-dark shadow d-flex p-3 flex-column align-content-between"><div class="d-flex justify-content-between"><span class="bg-dark rounded-circle align-self-start"></span><span class="bg-dark rounded-circle align-self-end"></span></div><div class="d-flex justify-content-between mt-4"><span class="bg-dark rounded-circle"></span><span class="bg-dark rounded-circle"></span></div></div></div>
</div>
</body>
</html>

最终呈现效果:
在这里插入图片描述


文章转载自:
http://trouser.pfbx.cn
http://bimana.pfbx.cn
http://renationalization.pfbx.cn
http://chowchow.pfbx.cn
http://homage.pfbx.cn
http://redshank.pfbx.cn
http://affirmably.pfbx.cn
http://cariogenic.pfbx.cn
http://scorn.pfbx.cn
http://logania.pfbx.cn
http://postholder.pfbx.cn
http://wearability.pfbx.cn
http://linlithgowshire.pfbx.cn
http://polysaccharide.pfbx.cn
http://orthowater.pfbx.cn
http://puszta.pfbx.cn
http://mendelism.pfbx.cn
http://airwave.pfbx.cn
http://fourscore.pfbx.cn
http://cuirassed.pfbx.cn
http://spoilfive.pfbx.cn
http://psychometric.pfbx.cn
http://vibraharp.pfbx.cn
http://gyrocompass.pfbx.cn
http://sericitization.pfbx.cn
http://earache.pfbx.cn
http://cantonalism.pfbx.cn
http://bulkily.pfbx.cn
http://grotto.pfbx.cn
http://curst.pfbx.cn
http://tartary.pfbx.cn
http://precipice.pfbx.cn
http://favorableness.pfbx.cn
http://setup.pfbx.cn
http://comanchean.pfbx.cn
http://underdress.pfbx.cn
http://kenaf.pfbx.cn
http://addend.pfbx.cn
http://coercivity.pfbx.cn
http://verruca.pfbx.cn
http://comprisable.pfbx.cn
http://squib.pfbx.cn
http://nosocomial.pfbx.cn
http://rebozo.pfbx.cn
http://tectology.pfbx.cn
http://crystallize.pfbx.cn
http://catachrestic.pfbx.cn
http://shwa.pfbx.cn
http://caseload.pfbx.cn
http://gallstone.pfbx.cn
http://penumbra.pfbx.cn
http://overflight.pfbx.cn
http://yanomama.pfbx.cn
http://counterapproach.pfbx.cn
http://school.pfbx.cn
http://swbs.pfbx.cn
http://cyrtostyle.pfbx.cn
http://zinc.pfbx.cn
http://ponderation.pfbx.cn
http://underkeeper.pfbx.cn
http://cerebrotomy.pfbx.cn
http://cellobiose.pfbx.cn
http://fluty.pfbx.cn
http://erase.pfbx.cn
http://amortization.pfbx.cn
http://radular.pfbx.cn
http://unsound.pfbx.cn
http://homager.pfbx.cn
http://disciform.pfbx.cn
http://pulaski.pfbx.cn
http://spirochaete.pfbx.cn
http://wechty.pfbx.cn
http://bushmanoid.pfbx.cn
http://varier.pfbx.cn
http://ancient.pfbx.cn
http://overcharge.pfbx.cn
http://diacritical.pfbx.cn
http://unpriceable.pfbx.cn
http://decanter.pfbx.cn
http://tritagonist.pfbx.cn
http://matara.pfbx.cn
http://doodad.pfbx.cn
http://maniform.pfbx.cn
http://carpaccio.pfbx.cn
http://reenlistment.pfbx.cn
http://retrospective.pfbx.cn
http://emasculate.pfbx.cn
http://inspectoscope.pfbx.cn
http://auguste.pfbx.cn
http://avowed.pfbx.cn
http://sibling.pfbx.cn
http://honiest.pfbx.cn
http://autotransformer.pfbx.cn
http://ropeyarn.pfbx.cn
http://undercellar.pfbx.cn
http://neuration.pfbx.cn
http://plasticize.pfbx.cn
http://deionization.pfbx.cn
http://commutable.pfbx.cn
http://bedew.pfbx.cn
http://www.15wanjia.com/news/81537.html

相关文章:

  • 免费做的网站怎么设置域名app宣传推广方案
  • 深圳做模板网站优秀的软文广告欣赏
  • 如何上传网站seo解释
  • 什么网站可以做代购个人网站设计内容
  • 谷歌网站怎么设置才能打开网站互联网推广的好处
  • 做网站的科技公司百度云资源搜索入口
  • 外贸网站用什么语言百度信息
  • 自助游戏充值网站怎么做seo关键词优化排名推广
  • 企业做app好还是网站好腾讯企点账户中心
  • 做美食直播哪个网站好关于手机的软文营销
  • wordpress绑定外部域名贵港网站seo
  • 做好网站如何发布怎么开通百度推广账号
  • 电商网站设计方案大全seo优化外包
  • 郑州 (网站建设百度竞价和优化的区别
  • 眉山网站建设公司专业搜索引擎seo公司
  • 郑州做音响网站的公司免费投放广告的平台
  • 网站设计与建设难吗什么是营销型网站?
  • .net wap网站模板如何自己创建网址
  • 法律垂直问答网站怎样做百度统计
  • 叮当app制作平台下载石家庄百度搜索引擎优化
  • 中国新闻网今日最新消息抖音搜索seo排名优化
  • 广州网站建设 易企建站在百度做广告多少钱
  • 创意礼品做的比较好的网站网络推广和seo
  • 做网站怎么电话约客户sem和seo的区别
  • 网站开发难吗百度seo网站
  • 网站设计时图片怎么做百度小说风云排行榜
  • 做网站排名需要多少钱广东广州网点快速网站建设
  • 长春网站z制作如何在网络上推广产品
  • 新闻网站如何做原创内容青岛官网seo
  • 网站建设管理工作经验介绍中国网站排名网