4 <link href=
"resources/flexbox.css" rel=
"stylesheet">
6 .flexbox, .inline-flexbox {
7 background-color: lightgrey;
11 display: inline-block;
15 border:
11px solid pink;
36 <div class=
"border" style=
"display: inline-block; background-color: lightgrey">
37 <div class=
"flexbox" style=
"height: 30px; margin-top: 7px; padding-top: 10px;">
46 <div class=
"inline-block border">
47 <div class=
"flexbox padding" style=
"width: 50px; height: 50px; background-color: pink">
48 <div class=
"flex-one" style=
"background-color: lightgrey"></div>
52 <div class=
"inline-block margin">
53 <div class=
"flexbox border" style=
"width: 50px; height: 50px; background-color: pink">
54 <div class=
"flex-one" style=
"background-color: lightgrey"></div>
58 <div class=
"inline-block padding" style=
"padding-left: 0; padding-right: 0">
59 <div class=
"flexbox margin border" style=
"width: 50px; height: 50px; background-color: pink">
60 <div class=
"flex-one" style=
"background-color: lightgrey;"></div>
64 <div class=
"inline-flexbox margin border" style=
"width: 30px; height: 30px;"></div>
71 <div class=
"inline-block">
72 <div class=
"flexbox" style=
"background-color: pink">
73 <div class=
"flex-one border padding margin" style=
"background-color: lightgrey;"></div>
77 <div class=
"inline-flexbox margin border padding"></div>
82 Should align with the top
83 <div class=
"inline-block border margin padding" style=
"background-color: pink">
84 <div class=
"flexbox border margin padding" style=
"width: 50px; height: 50px; background-color: pink">
85 <div style=
"width: 200px; overflow: scroll; background-color: lightgrey; margin-top: 4px; border-top: 9px solid pink;"></div>
88 of the horizontal scrollbar.
92 Should align
10px above the
93 <div class=
"inline-block" style=
"background-color: pink">
94 <div class=
"flexbox" style=
"width: 50px; height: 50px; background-color: pink">
95 <div style=
"width: 200px; overflow: scroll; background-color: lightgrey; padding-bottom: 10px"></div>
98 horizontal scrollbar, if one is visible.