Game Development Reference
In-Depth Information
Finally, in anticipation of the question that these two properties beg to be asked, yes,
we could very well combine an exclusion that defines a shape-outside property,
and one that defines a shape-inside property. Observe that a shape-inside
exclusion is nothing more than a block level element, just like any other. Viewing the
source code of an HTML file without any CSS instructions will make a shape-in-
side exclusion impossible to be told apart from an ordinary block of text. Thus, we
could very well use a shape-inside excluded element as a shape-outside ex-
clusion. The same element can have both CSS attributes, since their effect is mu-
tually exclusive. Any text inside the element would be bound to the shape-inside
exclusion declaration, whereas any content around the element would be associated
with the effects of the shape-outside attribute.
<style>
h2, p {
margin: 0 0 10px;
}
Search WWH ::




Custom Search