File: css-box-justify-content.htm

package info (click to toggle)
litehtml 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,928 kB
  • sloc: ansic: 31,385; cpp: 27,328; makefile: 9
file content (38 lines) | stat: -rw-r--r-- 1,698 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/css-box-justify-content.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
<head><title>flexbox |css-box-justify-content</title>
<link href="mailto:ava656094@gmail.com" rel="author" title="xiaoxia">
<link href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property" rel="help">
<link href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property" rel="help">
<link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/css-box-justify-content-ref.htm" rel="match">
<style>
#flexbox {
	background: green;
	width: 300px;
	height: 40px;
    display: flex;
	flex-flow: row;
	justify-content: flex-end;
}
.item{
	width:50px;
	height: 30px;
	}
</style>

</head><body><p>This test passes if the DIV5's position in the end and the div is Horizontal layout</p>
<div id="flexbox">
	<div style="background-color: rgb(242, 210, 80); color: rgb(41, 119, 248);" class="item">DIV1</div>
    &nbsp;
	<div style="background-color: rgb(110, 8, 7); color: rgb(162, 152, 22);" class="item">DIV2</div>
    &nbsp;
	<div style="background-color: rgb(215, 172, 243); color: rgb(74, 123, 110);" class="item">DIV3</div>
    &nbsp;
	<div style="background-color: rgb(242, 133, 80); color: rgb(41, 119, 248);" class="item">DIV4</div>
    &nbsp;
	<div style="background-color: rgb(242, 50, 80); color: rgb(41, 119, 248);" class="item">DIV5</div>
</div>
</body>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/css-box-justify-content.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
</html>