mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
22 lines
302 B
HTML
22 lines
302 B
HTML
<!DOCTYPE html>
|
|
<title>::before { display: inline-block; }</title>
|
|
<style>
|
|
ul li {
|
|
list-style-type: none;
|
|
counter-increment: item;
|
|
}
|
|
ul li::before {
|
|
content: counter(item);
|
|
display: inline-block;
|
|
width: 3em;
|
|
}
|
|
ul {
|
|
margin-left: 3em;
|
|
padding-left: 0;
|
|
}
|
|
</style>
|
|
<ul>
|
|
<li>Foo
|
|
<li>Bar
|
|
</ul>
|