blob: 60f5be8c6c5e6ad9e478f73ddac869c4717ca0d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<title>::before { display: inline-block; }</title>
<style>
ul li {
list-style-type: none;
}
ul li span {
display: inline-block;
width: 3em;
}
ul {
margin-left: 3em;
padding-left: 0;
}
</style>
<ul>
<li><span>1</span>Foo
<li><span>2</span>Bar
</ul>
|