Skip to content

Commit e065c42

Browse files
patrickhlaukekfranqueiro
authored andcommitted
Update techniques/css/C28.html
1 parent 4e823e3 commit e065c42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

techniques/css/C28.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h3><code>em</code> units for sizes for layout container containing text </h3>
3838
<section class="example">
3939
<h3><code>em</code> units for text-based form controls</h3>
4040

41-
<p>In this example, <code>input</code> elements that contain text or accept text input by the user have been given the class name "form1". CSS rules are used to define the font size in percent units and width for these elements in <code>em</code> units. This will allow the text within the form control to resize in response to changes in text size settings without being cropped (because the width of the form control itself also resizes according to the font size). </p>
41+
<p>In this example, <code>input</code> elements that contain text or accept text input by the user have been given <code>class="form1"</code>. CSS rules are used to define the font size in percent units and width for these elements in <code>em</code> units. This will allow the text within the form control to resize in response to changes in text size settings without being cropped (because the width of the form control itself also resizes according to the font size). </p>
4242

4343
<pre xml:space="preserve"><code class="language-css">input.form1 { font-size: 100%; width: 15em; }</code></pre>
4444
</section>

0 commit comments

Comments
 (0)