代码编辑器:
x
1
2
<meta charset="utf-8">
3
<link href="/static/next/css/tryit.css?v=2017082407" rel="stylesheet"/>
4
<style>
5
#main {
6
width: 350px;
7
height: 100px;
8
border: 1px solid #c3c3c3;
9
display: flex; /* Safari */
10
display: flex;
11
}
12
13
#main div {
14
flex-grow: 0; /* Safari 6.1+ */
15
flex-shrink: 0; /* Safari 6.1+ */
16
flex-basis: 40px; /* Safari 6.1+ */
17
flex-grow: 0;
18
flex-shrink: 0;