blob: 24e60a37bf47086c806e29fa63745e5a125e5581 (
plain)
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
|
<!DOCTYPE html>
<html>
<head>
<style>
.flexContainer {
display: flex;
/* Just for easier visualization: */
width: 600px;
justify-content: space-around;
border: 1px solid black;
}
.flexContainer:before {
position:absolute;
content:'before';
}
.flexContainer:after {
position:absolute;
content:'after'
}
.ordered-item {
position:relative;
order:5;
}
</style>
</head>
<body>
<div class="flexContainer">
<div class="ordered-item">ItemWithOrderSet
<!-- It's important that this remain unclosed, for some reason. -->
|