You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css3-gcpm/Overview.src.html
+22-14Lines changed: 22 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -3027,7 +3027,7 @@ <h3>Pull-quotes</h3>
3027
3027
3028
3028
<h3>Exclusions based on images</h3>
3029
3029
3030
-
3030
+
<p>Exclusions are often based on shapes found in images. In this specification, the background image carries the shape, around which text is wrapped. The new property 'background-exclude-level' indicates a level in the alpha channel of the background image(s) that defines the shape.
3031
3031
3032
3032
3033
3033
<divclass=example>
@@ -3038,12 +3038,11 @@ <h3>Exclusions based on images</h3>
3038
3038
padding: 4em;
3039
3039
columns: 15em;
3040
3040
background: url(nicecar.jpg);
3041
-
background-exclude: 0.5;
3041
+
background-exclude-level: 0.5;
3042
3042
}
3043
3043
article h1 { column-span: all } /* Bonneville Speedway */
3044
3044
</pre>
3045
3045
3046
-
3047
3046
</div>
3048
3047
3049
3048
<divclass=example>
@@ -3071,7 +3070,9 @@ <h3>Exclusions based on images</h3>
3071
3070
background: repeat-y url(zigzag.png);
3072
3071
background-exclude-level: 0.5;
3073
3072
}
3074
-
3073
+
article h1 {
3074
+
column-span: all;
3075
+
}
3075
3076
</pre>
3076
3077
3077
3078
</div>
@@ -3080,6 +3081,8 @@ <h3>Exclusions based on images</h3>
3080
3081
3081
3082
<h3>Exclusions based on shapes</h3>
3082
3083
3084
+
<pclass=issue>Is this needed?
3085
+
3083
3086
<divclass=example>
3084
3087
<imgsrc=heart1.png>
3085
3088
<pre>
@@ -3173,20 +3176,24 @@ <h3>Turning columns into regions</h3>
3173
3176
<imgalt="sample rendering" src=regions.png>
3174
3177
3175
3178
<pre>
3176
-
article { columns: 3 }
3177
-
img { column-span: 2; width: 100%; float: top }
3178
-
article::column(1) { /* selects column 1 */
3179
-
column-span: 2;
3180
-
float: top;
3181
-
visibility: collapse; /* so that column 2 moves in */
3182
-
height: 3em; /* or something */
3183
-
}
3179
+
article { columns: 3 }
3180
+
img { column-span: 2; width: 100%; float: top }
3181
+
article::column(1) { /* selects column 1 */
3182
+
column-span: 2;
3183
+
float: top;
3184
+
visibility: collapse; /* so that column 2 moves in */
3185
+
height: 3em; /* or something */
3186
+
}
3187
+
3188
+
<article>
3189
+
<img ...>
3190
+
<p>... <p>... <p>...
3191
+
</article>
3184
3192
</pre>
3185
3193
</div>
3186
3194
3187
-
3195
+
<!--
3188
3196
<div class=example>
3189
-
3190
3197
<pre>
3191
3198
article { columns: 14em; }
3192
3199
article::column(1) {
@@ -3197,6 +3204,7 @@ <h3>Turning columns into regions</h3>
0 commit comments