File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -129,8 +129,6 @@ The ''::marker'' Pseudo-Element</h3>
129
129
}
130
130
p.note::marker {
131
131
content: "Note " counter(note-counter) ":";
132
- text-align: left;
133
- width: 10em;
134
132
}
135
133
</style>
136
134
<p> This is the first paragraph in this document.
@@ -141,20 +139,20 @@ The ''::marker'' Pseudo-Element</h3>
141
139
It should render something like this:
142
140
143
141
<pre>
144
- This is the first paragraph
145
- in this document.
142
+ This is the first paragraph
143
+ in this document.
146
144
147
- Note 1: This is a very short
148
- document.
145
+ Note 1: This is a very short
146
+ document.
149
147
150
- This is the end.
148
+ This is the end.
151
149
</pre>
152
150
</div>
153
151
154
152
<div class="example">
155
153
By using the ''::marker'' pseudo-element,
156
- a list's markers can be positioned much more flexibly,
157
- and even be styled independently from the text of the list item itself:
154
+ a list's markers can be styled
155
+ independently from the text of the list item itself:
158
156
159
157
<xmp highlight=html>
160
158
<style>
You can’t perform that action at this time.
0 commit comments