File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -766,7 +766,7 @@ Generated Content Pseudo-elements: ''::before'' and ''::after''</h3>
766
766
When their computed 'content' value is not ''content/none'' ,
767
767
these pseudo-elements generate boxes
768
768
as if they were immediate children of their <a>originating element</a> ,
769
- and can be styled exactly like any normal document-sourced element in the document tree .
769
+ with content as specified by 'content' .
770
770
771
771
<dl>
772
772
<dt> <dfn>::before</dfn>
@@ -778,6 +778,11 @@ Generated Content Pseudo-elements: ''::before'' and ''::after''</h3>
778
778
immediately after the <a>originating element</a> 's actual content.
779
779
</dl>
780
780
781
+ These pseudo-elements can be styled
782
+ exactly like any normal document-sourced element in the document tree;
783
+ all properties that apply to a normal element
784
+ likewise apply to ''::before'' and ''::after'' .
785
+
781
786
<div class="example">
782
787
For example, the following rule inserts the string “Note: ”
783
788
before the content of every <code> <p></code> element
You can’t perform that action at this time.
0 commit comments