任务十的源代码,其实有github的,但就是不知道怎么弄,近期会学会的。在IE和firefox上检测运行良好。

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>six</title>
<link rel="stylesheet" href="./six.css">
<style>
body{
margin:;
padding:;
} ul {
margin:;
padding:; } li{
list-style: none;
}
.flex-container {
display: flex;
align-items:center;
flex-flow: row wrap;
justify-content: space-between;
padding: 20px;
}
.flex-item {
width: 150px;
height: 120px;
border: solid 1px #f00;
margin: 20px 0px;
}
.flex-item1 {
width: 150px;
height: 100px;
border: solid 1px #f00;
margin: 20px 0px;
}
.flex-item2 {
width: 150px;
height: 40px;
border: solid 1px #f00;
margin: 20px 0px;
}
.flex-item3 {
width: 150px;
height: 200px;
border: solid 1px #0f0;
margin: 20px 0px;
}
@media all and (max-width: 640px) {
.flex-item3{order:;}
.flex-item2{order:;}
.flex-item1{order:;}
.flex-item{order:;}
.flex-container {
display: flex;
align-items:flex-start;
flex-flow: row wrap;
justify-content: space-between;
padding: 20px;
}
}
</style>
</head>
<body>
<ul class="flex-container">
<li class="flex-item"> </li>
<li class="flex-item1">2</li>
<li class="flex-item2">3</li>
<li class="flex-item3">4</li>
</ul>
</body>
</html>

最新文章

  1. 二进制配置文件为什么比json等配置文件效率高
  2. 代理模式/proxy模式/结构型模式
  3. iOS8后core location框架启动定位服务的步骤
  4. iPhone 信号格转变数字
  5. 【特别推荐】8个富有创意的jQuery/CSS3插件
  6. 数据库MySQL常用命令复习
  7. 用excel打造报表查询系统
  8. Android热更新开源项目Tinker集成实践总结
  9. Onlylady介绍
  10. oracle数据库在mybatis中使用uuid
  11. SourceTree提交不了,报git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
  12. SQLI DUMB SERIES-2
  13. LOJ3048 「十二省联考 2019」异或粽子
  14. iOS - CodeReview 代码评审
  15. 字节跳动冬令营网络赛 Solution
  16. Java: FreeMarker的配置和使用
  17. Caliburn.Micro 杰的入门教程4,事件聚合器
  18. MySQL-group-replication 配置
  19. NSight统计数据的颜色,缩写意义是什么?来自NV Jeff Kiel 比较官方的解释!
  20. JavaScript 的简单学习2

热门文章

  1. C# Net 合并int集合为字符串,如:输入1,2,3,4,8 输出1~4,8
  2. Game Engine Architecture 13
  3. SpringCloud2.0 Hystrix Feign 基于Feign实现断路器
  4. iview admin动态路由实现
  5. java static学习
  6. 使用istioctl命令查看gateway及virtualservices
  7. HDU6706 huntian oy(2019年CCPC网络赛+杜教筛)
  8. 201871010102-常龙龙《面向对象程序设计(java)》第二周学习总结
  9. VS Code配置Python
  10. XIX Open Cup named after E.V. Pankratiev. Grand Prix of Eurasia, Division 1.