We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52b59ac commit d61571cCopy full SHA for d61571c
css-break-4/Overview.bs
@@ -1029,6 +1029,23 @@ Adjoining Margins at Breaks: the 'margin-break' property</h3>
1029
</figure>
1030
</div>
1031
1032
+ <div class="example">
1033
+ In this example, 'margin' is used to create spacing between
1034
+ styled inline <{CODE}> elements and adjacent text in a paragraph;
1035
+ 'margin-break' is used to discard this margin at the start and end of the line.
1036
+
1037
+ <pre>
1038
+ CODE {
1039
+ background: silver;
1040
+ padding: 0.1em;
1041
+ border: 1px solid;
1042
+ border-radius: 0.2em;
1043
+ margin: 0.2em;
1044
+ margin-break: discard;
1045
+ }
1046
+ </pre>
1047
+ </div>
1048
1049
<h3 id="box-splitting">
1050
Splitting Boxes</h3>
1051
0 commit comments