Skip to content

Commit 727cf6b

Browse files
author
jihyerish
committed
[css-round-display] Modify the explaining sentences in example1 (about shape MF)
1 parent 32fd71c commit 727cf6b

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

css-round-display/Overview.bs

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,16 @@ It accepts the following values:
110110
</dl>
111111

112112
<div class='example'>
113-
The example below shows how a web page looks in the different shapes of displays.
114-
This is a simple clock written in HTML without 'shape'.
113+
The following examples show what 'shape' media feature can do when the web page
114+
is on the various shapes of displays.
115+
The sample web page is a simple clock application written in HTML and seen through
116+
the rectangular display and the rounded display.
117+
118+
In the first example, the clock application doesn't implemented with 'shape' media feature,
119+
so it can't deal with different types of displays.
120+
It only uses 'rectangle.css' which is designed for the rectangular display
121+
no matter what the type of the display is.
122+
On the round display, some parts of the clock application would be clipped.
115123

116124
<pre class="lang-html">
117125
&lt;!DOCTYPE html>
@@ -134,23 +142,23 @@ It accepts the following values:
134142
<div class="figure">
135143
<div class="example-table">
136144
<div class="desc">
137-
<img alt="An image of a rectangle clock within a rectangle display" src="images/device_radius_clock_a.png">
145+
<img alt="An image of a clock within a rectangle display" src="images/device_radius_clock_a.png">
138146
<p>(A) Rectangle Display</p>
139147
</div>
140148
<div class="desc">
141-
<img alt="An image of a round clock within a rectangle display" src="images/device_radius_clock_b.png">
149+
<img alt="An image of a clock within a round display" src="images/device_radius_clock_b.png">
142150
<p>(B) Round Display</p>
143151
</div>
144152
</div>
145153
<figcaption>
146-
Devices where the 'shape' media feature is applicable
154+
Clock Application without the 'shape' media feature
147155
</figcaption>
148156
</div>
149157

150-
On the other hand, the example below shows how the 'shape' media feature works
151-
in the different shapes of displays.
152-
This is the same as the code above except for Media Queries usage.
153-
The shape media feature can be used as follows:
158+
On the other hand, in the second example, the clock application uses 'shape' media feature.
159+
The following media queries are added to the code of the clock application from
160+
the first example.
161+
154162
<pre class="lang-html">
155163
&lt;!-- index.html -->
156164
&lt;head>
@@ -159,22 +167,22 @@ It accepts the following values:
159167
&lt;/head>
160168
</pre>
161169

162-
If this example code is loaded in a round display, 'round.css' will be applied by the Media Queries
163-
mechanism.
170+
If the clock application is loaded in a round display, 'round.css' which is the design for
171+
the round display will be applied by the Media Queries mechanism.
164172

165173
<div class="figure">
166174
<div class="example-table">
167175
<div class="desc">
168-
<img alt="An image of a rectangle clock within a rectangle display" src="images/device_radius_clock_a.png">
169-
<p>(A) Rectangle Display<br>(when 'shape: rect' returns 'true')</p>
176+
<img alt="An image of a clock within a rectangle display" src="images/device_radius_clock_a.png">
177+
<p>(A) Rectangle Display<br>(when 'shape: rect' returns ''true'')</p>
170178
</div>
171179
<div class="desc">
172-
<img alt="An image of a round clock within a round display" src="images/device_radius_clock_c.png">
173-
<p>(B) Round Display<br>(when 'shape: round' returns 'true')</p>
180+
<img alt="An image of a clock within a round display" src="images/device_radius_clock_c.png">
181+
<p>(B) Round Display<br>(when 'shape: round' returns ''true'')</p>
174182
</div>
175183
</div>
176184
<figcaption>
177-
Devices where the 'shape' media feature is applicable
185+
Clock Application with the 'shape' media feature
178186
</figcaption>
179187
</div>
180188
</div>

0 commit comments

Comments
 (0)