Skip to content

Commit

Permalink
fix(css): for font examples use 'rem' instead of 'em'
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar committed Sep 4, 2023
1 parent 3633b76 commit c6c8272
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion live-examples/css-examples/fonts/font-size.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section id="example-choice-list" class="example-choice-list" data-property="font-size">
<div class="example-choice" initial-choice="true">
<pre><code class="language-css">font-size: 1.2em;</code></pre>
<pre><code class="language-css">font-size: 1.2rem;</code></pre>
<button type="button" class="copy hidden" aria-hidden="true">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
Expand Down
4 changes: 2 additions & 2 deletions live-examples/css-examples/fonts/font.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<section id="example-choice-list" class="example-choice-list" data-property="font">
<div class="example-choice" initial-choice="true">
<pre><code class="language-css">font: 1.2em "Fira Sans", sans-serif;</code></pre>
<pre><code class="language-css">font: 1.2rem "Fira Sans", sans-serif;</code></pre>
<button type="button" class="copy hidden" aria-hidden="true">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
</div>

<div class="example-choice">
<pre><code class="language-css">font: italic 1.2em "Fira Sans", serif;</code></pre>
<pre><code class="language-css">font: italic 1.2rem "Fira Sans", serif;</code></pre>
<button type="button" class="copy hidden" aria-hidden="true">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
Expand Down

0 comments on commit c6c8272

Please sign in to comment.