File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -766,7 +766,7 @@ Generated Content Pseudo-elements: ''::before'' and ''::after''</h3>
766766 When their computed 'content' value is not ''content/none'' ,
767767 these pseudo-elements generate boxes
768768 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' .
770770
771771 <dl>
772772 <dt> <dfn>::before</dfn>
@@ -778,6 +778,11 @@ Generated Content Pseudo-elements: ''::before'' and ''::after''</h3>
778778 immediately after the <a>originating element</a> 's actual content.
779779 </dl>
780780
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+
781786 <div class="example">
782787 For example, the following rule inserts the string “Note: ”
783788 before the content of every <code> <p></code> element
You can’t perform that action at this time.
0 commit comments