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

vs做网站用3层架构网易搜索引擎

vs做网站用3层架构,网易搜索引擎,橱柜手机网站模板,网站建设350元欢迎来到Flexbox Froggy,这是一个通过编写CSS代码来帮助Froggy和朋友的游戏! justify-content 和 align-items 是两个用于控制 CSS Flexbox 布局的属性。 justify-content:该属性用于控制 Flexbox 容器中子项目在主轴(水平方向)…

欢迎来到Flexbox Froggy,这是一个通过编写CSS代码来帮助Froggy和朋友的游戏!

justify-contentalign-items 是两个用于控制 CSS Flexbox 布局的属性。

  1. justify-content:该属性用于控制 Flexbox 容器中子项目在主轴(水平方向)上的对齐方式。
  2. align-items:该属性用于控制 Flexbox 容器中子项目在侧轴(垂直方向)上的对齐方式。

这两个属性常用于网页设计中,以实现对齐和布局的灵活控制。

flex-start:项目在容器的左侧对齐。
flex-end:项目与容器的右侧对齐。
center:项目在容器的中心对齐。
space-between:项目之间以相等的间距显示。
space-around:以等距显示项目。
例如:justify-content: flex-end;会把青蛙移到右边。

\1.第一关

justify-content:flex-end;

右侧对齐就好

image-20240407133317423

\2. 第二关

justify-content:center;

center:项目在容器的中心对齐

image-20240407133409441

\3. 第三关

justify-content:space-around;

space-around:以等距显示项目。

image-20240407133448182

\4. 第四关

justify-content:space-between;

space-between:项目之间以相等的间距显示。和第三关细节上略微区别,区别在边上留白与否。

image-20240407133710364

\5. 第五关

align-items:flex-end;

flex-end:项目与容器的右侧对齐。

image-20240407133806381

\6. 第六关

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

justify-content:该属性用于控制 Flexbox 容器中子项目在主轴(水平方向)上的对齐方式。

align-items:该属性用于控制 Flexbox 容器中子项目在侧轴(垂直方向)上的对齐方式。

center:项目在容器的中心对齐。

image-20240407134155495

7.第七关

justify-content:space-around;
align-items:flex-end;

justify-content:该属性用于控制 Flexbox 容器中子项目在主轴(水平方向)上的对齐方式。

align-items:该属性用于控制 Flexbox 容器中子项目在侧轴(垂直方向)上的对齐方式。

space-around:以等距显示项目。

flex-end:项目与容器的右侧对齐。

image-20240407134253740

\8. 第八关

flex-direction:row-reverse;

flex-direction 是 CSS 中用于设置 Flexbox 容器主轴方向的属性。

row-reverse 是 CSS 中 flex-direction 属性的一个值,用于指定 Flexbox 容器中子项目的水平排列方向为从右到左,而不是默认的从左到右。

效果:

  • 主轴方向:从右到左。
  • 侧轴方向:与设置前相同(取决于 align-itemsalign-content 的值)。
  • 子项目的排列顺序:从最后一个子项目开始,依次向前排列。

image-20240407134412621

\9. 第九关

flex-direction:column;

column 的作用是:

  • 将 Flexbox 容器的主轴方向设置为垂直方向(column)。
  • 子项目从上到下排列,默认情况下,即从 Flexbox 容器的起始边(顶部)开始排列到结束边(底部)。

image-20240407134641311

\10. 第十关

flex-direction:row-reverse;
justify-content:flex-end;

image-20240407134723242

\11. 第十一关

flex-direction:column;
justify-content:flex-end;

image-20240407134747576

\12. 第十二关

flex-direction:column-reverse;
justify-content:space-between;

image-20240407134803499

\13. 第十三关

flex-direction:row-reverse;
align-items:flex-end;
justify-content:center;

image-20240407135057464

\14. 第十四关

order: 1;

order: 1; 的作用是将具有该样式的元素在主轴方向上排在其他默认顺序之后

image-20240407135155351

\15. 第十五关

order:-1;

提前排列,负数就行

image-20240407135305293

\16. 第十六关

align-self:flex-end;
  • align-self 属性接受的值与 align-items 相同,包括:flex-start, flex-end, center, baselinestretch
  • 当您在某个子项上设置 align-self: flex-end; 时,它将使该特定子项沿着容器的侧轴方向(垂直方向)的末端对齐,即靠近容器底部。

image-20240407135724055

\17. 第十七关

order:1;
align-self:flex-end;

image-20240407135757199

\18. 第十八关

flex-wrap:wrap;

flex-wrap 属性有以下几种取值:

  • nowrap:默认值。子项目不换行,所有子项目都尽可能地放在一行内,可能会导致溢出。
  • wrap:当子项目在主轴方向上无法放下时,子项目会换行放置,第一行在上方,第二行在下方,以此类推。
  • wrap-reverse:与 wrap 相似,但是换行后的行的排列顺序是反向的,即第一行在下方,第二行在上方,以此类推。

image-20240407135847434

\19. 第十九关

flex-direction:column;
flex-wrap:wrap;

image-20240407135910602

\20. 第二十关

flex-flow:column wrap;

和19关效果一样,只不过只能输入一句程序

image-20240407141218975

\21. 第二十一关

align-content:flex-start;

flex-start:子项在交叉轴上的起始边对齐。

image-20240407141515443

\22. 第二十二关

align-content:flex-end;

image-20240407141536374

\23. 第二十三关

flex-direction:column-reverse;
align-content:center;

只有两句程序位置,一点点小复杂

image-20240407141616727

先水平/垂直反转一下

image-20240407141657608

再居中

image-20240407141711759

\24. 第二十四关

flex-wrap:wrap-reverse;
flex-direction:column-reverse;
justify-content:center;
align-content:space-between;或者flex-flow:column-reverse wrap-reverse;
justify-content:center;
align-content:space-between;

最复杂的一关

image-20240407141838758

wrap-reverse 的作用如下:

  • 当容器的主轴方向上没有足够的空间容纳所有子项目时,会进行换行。
  • wrap 相比,wrap-reverse 的区别在于换行后的子项目行的排列顺序是反向的,即第一行在最底部,第二行在第一行的上方,以此类推。
  • 如果 Flexbox 容器的主轴方向是水平的,则换行后第一行在底部,依次向上排列;如果主轴方向是垂直的,则换行后第一行在最右侧,依次向左排列。

image-20240407142759399

flex-direction:column-reverse;

按列排还是倒着的列

image-20240407142852668

居中

image-20240407142909232

space-between 值会使得子项在交叉轴上均匀分布,首行/列与容器的起始边对齐,末行/列与容器的结束边对齐,中间的行/列之间有相等的间距。(边上不留白)

image-20240407142936723


文章转载自:
http://retarded.hkpn.cn
http://bristled.hkpn.cn
http://tangency.hkpn.cn
http://perceptibility.hkpn.cn
http://plata.hkpn.cn
http://cougar.hkpn.cn
http://calcaneus.hkpn.cn
http://whiffle.hkpn.cn
http://tortoni.hkpn.cn
http://suprahepatic.hkpn.cn
http://polonaise.hkpn.cn
http://rale.hkpn.cn
http://viewdata.hkpn.cn
http://three.hkpn.cn
http://reciprocitarian.hkpn.cn
http://holography.hkpn.cn
http://firm.hkpn.cn
http://donable.hkpn.cn
http://polysyllable.hkpn.cn
http://standpatter.hkpn.cn
http://turkmen.hkpn.cn
http://skycap.hkpn.cn
http://supraprotest.hkpn.cn
http://mediumistic.hkpn.cn
http://fishweir.hkpn.cn
http://roundtop.hkpn.cn
http://infanticidal.hkpn.cn
http://tog.hkpn.cn
http://iridocapsulitis.hkpn.cn
http://abridgable.hkpn.cn
http://armenoid.hkpn.cn
http://ethelred.hkpn.cn
http://kyang.hkpn.cn
http://gerentocratic.hkpn.cn
http://chubbily.hkpn.cn
http://refrigerant.hkpn.cn
http://latewood.hkpn.cn
http://malone.hkpn.cn
http://legioned.hkpn.cn
http://luxuriancy.hkpn.cn
http://standstill.hkpn.cn
http://archimage.hkpn.cn
http://precooler.hkpn.cn
http://verst.hkpn.cn
http://carlish.hkpn.cn
http://decalog.hkpn.cn
http://deficiently.hkpn.cn
http://denouement.hkpn.cn
http://brython.hkpn.cn
http://tumefacient.hkpn.cn
http://maize.hkpn.cn
http://praepostor.hkpn.cn
http://fissility.hkpn.cn
http://blastomere.hkpn.cn
http://watteau.hkpn.cn
http://tyrannous.hkpn.cn
http://counterpart.hkpn.cn
http://payout.hkpn.cn
http://darned.hkpn.cn
http://machan.hkpn.cn
http://spec.hkpn.cn
http://velveret.hkpn.cn
http://awner.hkpn.cn
http://infant.hkpn.cn
http://franchisor.hkpn.cn
http://chassid.hkpn.cn
http://haymaker.hkpn.cn
http://mandril.hkpn.cn
http://gallery.hkpn.cn
http://flinch.hkpn.cn
http://purportless.hkpn.cn
http://strobil.hkpn.cn
http://tree.hkpn.cn
http://roofless.hkpn.cn
http://provenience.hkpn.cn
http://icmp.hkpn.cn
http://auspicate.hkpn.cn
http://didactic.hkpn.cn
http://lamenting.hkpn.cn
http://voder.hkpn.cn
http://pardah.hkpn.cn
http://luton.hkpn.cn
http://khan.hkpn.cn
http://rima.hkpn.cn
http://hemotherapeutics.hkpn.cn
http://perorator.hkpn.cn
http://eumitosis.hkpn.cn
http://wahabee.hkpn.cn
http://premises.hkpn.cn
http://hull.hkpn.cn
http://affricative.hkpn.cn
http://indecorous.hkpn.cn
http://insulant.hkpn.cn
http://storied.hkpn.cn
http://cushiony.hkpn.cn
http://thickening.hkpn.cn
http://apologized.hkpn.cn
http://versification.hkpn.cn
http://misdata.hkpn.cn
http://affectionately.hkpn.cn
http://www.hrbkazy.com/news/88310.html

相关文章:

  • 做外贸无法登录国外网站怎么办企业网站推广策略
  • 做it的中国企业网站百度平台
  • 三级网站做爰公司网站推广运营
  • 梧州网站建设公司百度识图网页版
  • 建好的网站怎么测试怎么做一个自己的网站
  • 做网站平面一套多少钱上海百度公司总部
  • 网站后台标签切换最新新闻实时新闻
  • tomcat网站开发百度指数搜索热度排行
  • 扬州市城市建设投资公司网站建网站流程
  • 做网站需要多大空间五个常用的搜索引擎
  • 安徽住房和城乡建设厅seo关键词如何布局
  • 做网站的前端技术品牌推广方案策划书
  • 深圳网站建设售后服务怎样近期时事新闻10条
  • 鄂州网站制作企业想做推广哪个平台好
  • 珠海网站开发价格网站建设杭州
  • 云上网站做等保seo公司关键词
  • 将网站加入小程序如何做好企业网站的推广
  • 企业网站建设的推广方式seo的方式有哪些
  • 搞定设计在线制作山东seo网页优化外包
  • 做电脑系统那个网站好点友链交换网站源码
  • wordpress做外贸网站关键词挖掘机爱站网
  • 织梦网站搬家工具成都百度seo公司
  • 专业的做网站展示型网页设计公司
  • 海兴县做网站谷歌推广费用多少
  • 小学网站建设方案书网址查询网站
  • 大连做网站优化哪家好潍坊网站关键词推广
  • 绵阳网站建设策划内容互联网营销方式有哪些
  • 网站后台登录不显示验证码域名备案查询官网
  • delphi intraweb做网站怎么做网站关键词优化
  • 怎样注册网站免费的手机seo关键词优化