FLEXBOX FROGGY游戏难度是Beginner的答案知识点总结
level 1

#pond {display: flex;
justify-content:flex-end;
}

level 2

#pond {display: flex;
justify-content:center;
}

level 3

#pond {display: flex;
justify-content:space-around;
}

level 4

#pond {display: flex;
justify-content:space-between
}

level 5

#pond {display: flex;
align-items:flex-end;
}

level 6

#pond {display: flex;
justify-content:center;
align-items:center;
}

level 7

#pond {display: flex;
align-items:flex-end;
justify-content:space-around;
}

level 8

#pond {display: flex;
flex-direction:row-reverse;
}

level 9

#pond {display: flex;
flex-direction:column;
}

level 10

#pond {display: flex;
justify-content:flex-end;
flex-direction:row-reverse
}

level 11

#pond {display: flex;
justify-content:flex-end;
flex-direction:column;
}

level 12

#pond {display: flex;
flex-direction:column-reverse;
justify-content:space-between;
}

level 13

#pond {display: flex;
flex-direction:row-reverse;
justify-content:center;
align-items:flex-end;
}

level 14

#pond {display: flex;
}.yellow {order:1;
}

level 15

#pond {display: flex;
}.red {order:-3;
}

level 16

#pond {display: flex;align-items: flex-start;
}.yellow {align-self:flex-end;
}

level 17

#pond {display: flex;align-items: flex-start;
}.yellow {order:3;
align-self:flex-end;
}

level 18

#pond {display: flex;
flex-wrap:wrap;
}

level 19

#pond {display: flex;
flex-direction:column;
flex-wrap:wrap;
}

level 20

#pond {display: flex;
flex-flow:column wrap;
}

level 21

#pond {display: flex;flex-wrap: wrap;
align-content:flex-start;
}

level 22

#pond {display: flex;flex-wrap: wrap;
align-content:flex-end;
}

level 23

#pond {display: flex;flex-wrap: wrap;
flex-direction:column-reverse;
align-content:center;
}

level 24

#pond {display: flex;
flex-flow:wrap-reverse column-reverse;
align-content:space-between;
justify-content:center;
}

知识点总结:

1.justify-content属性水平对齐元素,参数有:
flex-start: 元素和容器的左端对齐。
flex-end: 元素和容器的右端对齐。
center: 元素在容器里居中。
space-between:元素之间保持相等的距离。
space-around:元素周围保持相等的距离。

2.align-items属性纵向对齐元素,参数有:
flex-start: 元素与容器的顶部对齐。
flex-end: 元素与容器的底部对齐。
center: 元素纵向居中。
baseline: 元素在容器的基线位置显示。
stretch: 元素被拉伸以填满整个容器。

3.flex-direction属性定义了元素在容器里摆放的方向,参数有:
row: 元素摆放的方向和文字方向一致。
row-reverse: 元素摆放的方向和文字方向相反。
column: 元素从上放到下。
column-reverse: 元素从下放到上。

4.order属性。元素的属性默认值为0,可以设置这个属性为正数或负数。(正数往右移动,负数往左移动)

5.align-self属性控制单个元素,参数有:
flex-start: 元素与容器的顶部对齐。
flex-end: 元素与容器的底部对齐。
center: 元素纵向居中。
baseline: 元素在容器的基线位置显示。
stretch: 元素被拉伸以填满整个容器。

6.flex-wrap属性把分散元素,参数有:
nowrap: 所有的元素都在一行。
wrap: 元素自动换成多行。
wrap-reverse: 元素自动换成逆序的多行。

7.flex-flow是flex-direction和flex-wrap缩写属性,接受两个属性的值,两个值中间以空格隔开。

8.align-content属性决定行与行之间隔多远,属性有:
flex-start: 多行都集中在顶部。
flex-end: 多行都集中在底部。
center: 多行居中。
space-between: 行与行之间保持相等距离。
space-around: 每行的周围保持相等距离。
stretch: 每一行都被拉伸以填满容器。
:align-content决定行之间的间隔,而align-items决定元素整体在容器的什么位置。只有一行的时候align-content没有任何效果。

FLEXBOX FROGGY-Beginner相关推荐

  1. css flexbox模型_通过Flexbox Froggy游戏自学CSS Flexbox

    过去,我们只介绍了flexbox及其工作原理. 但是实际上将flexbox应用于您的工作流程可能会遇到挑战,因为它是CSS规范中如此复杂的补充. 使用Flexbox Froggy,您可以通过有趣的涉及 ...

  2. 【FLEXBOX FROGGY最后一关】

    FLEXBOX FROGGY在线地址:Flexbox Froggy - A game for learning CSS flexbox. 先来看一下最后一关是什么样子: 首先可以看到青蛙是横着进行排列 ...

  3. Flexbox Froggy

    练习网址:Flexbox Froggy - A game for learning CSS flexbox 练习:

  4. Flexbox Froggy 小游戏答案 ☆ 学习Flex布局

    flex属性和display(inline,block,inline-block)属性一样,不过在做移动web的时候,它更有优势,并且非常好用,flex是css3中的属性,在移动web下我们不用考虑它 ...

  5. Flexbox Froggy通关代码

    通关代码在下面 第一关 justify-content: flex-end; 第二关 justify-content: center; 第三关 justify-content:space-around ...

  6. FLEXBOX FROGGY关卡答案

    从第一关开始到最后一关的图片

  7. 深度学习所需显存_只需10分钟即可学习基本的Flexbox

    深度学习所需显存 by Justin Yek 贾斯汀·耶克(Justin Yek) 只需10分钟即可学习基本的Flexbox (Learn basic Flexbox in just 10 minut ...

  8. Flexbox弹性盒模型

    Flexbox叫弹性盒模型,它的使用场景主要是屏幕自适应布局和取代浮动布局. 细节性的知识需要大量实践,系统性的知识则需要真正理解系统.我认为Flexbox就属于系统性的知识.所以这篇文章从概念入手, ...

  9. CSS3 FlexBox布局入门简析

    前言 你们还在仅仅使用块.行内.表格.定位等传统布局方式进行网页的布局吗? 告诉你们一个新的布局模式,CSS3中新引入的FlexBox布局,布局方式十分灵活,含有优秀和惊奇的新特性,而且在主流浏览器上 ...

最新文章

  1. LightOJ 1095 Arrange the Numbers(容斥原理)
  2. APIO2019解题报告
  3. Spring Boot中如何扩展XML请求和响应的支持
  4. 【例子】外键约束的创建及例子
  5. 第一节 Memcached分布式缓存入门
  6. html 脚本 gdi,基于gdi的简单画图
  7. SQL数据查询之——单表查询
  8. Python3.7安装numpy与scipy库(win10)
  9. java svg等值线_带有颜色填充的等值线画法研究
  10. 常见的视频制式及其区别
  11. Android 音频系统:从 AudioTrack 到 AudioFlinger
  12. 人脸识别扫描(活体检测功能,眨眼、摇头、点头),身份证认证
  13. 用eclipse读spark源码
  14. 一款基于安卓的观看漫画的app,有漫画排行榜、漫画目录、收藏夹、历史记录、漫画搜索、更新推送服务等
  15. 解压文件时文件名出现菱形问号������解决方案
  16. js中的eval语法
  17. IP网络主动测评系统——X-Vision
  18. Android Launcher启动过程
  19. 警惕新型钓鱼邮件诈骗~伪装的“再次发送”邮件
  20. 电装光庭汽车电子(武汉)有限公司

热门文章

  1. 生死之战:windows 8 VS 苹果的美洲狮
  2. 面试八股文-测试理论
  3. Shader 能量法球特效
  4. Appium+Python实现自动投递Boss直聘简历
  5. 解决 Unexpected lexical declaration in case block 的问题
  6. r5 4650g和r7 4750g核显对比 r5 4650g和4750g差距大不大
  7. 数独-缺失填补[9*9](MATLAB)
  8. 九联UNT401H主板2+8桌面蓝牙语音通刷固件
  9. 酒店新竞争格局下,品牌们该如何突围?
  10. java调用天气API和JSON解析的那些事儿