Skip to content

Commit

Permalink
rebuild docs
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Mar 2, 2018
1 parent 7831e10 commit 6d9560a
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 44 deletions.
File renamed without changes.

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions docs/917965659999f2f26ec723d31a6f80af.css

This file was deleted.

19 changes: 0 additions & 19 deletions docs/917965659999f2f26ec723d31a6f80af.js

This file was deleted.

File renamed without changes
File renamed without changes
Binary file removed docs/ed181a09d21ac2b9392491a3b762d3df.png
Binary file not shown.
Binary file removed docs/fba68f50ffc10eedf61d3e0f4ad4e381.png
Binary file not shown.
9 changes: 5 additions & 4 deletions docs/index.html

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1115,14 +1115,15 @@ <h3 id="pretty-text-underline">Pretty text underline</h3>
<h4 data-type="HTML">HTML</h4><pre><code class="lang-html">&lt;p class="pretty-text-underline"&gt;Pretty text underline without clipping descending letters.&lt;/p&gt;
</code></pre>
<h4 data-type="CSS">CSS</h4><pre><code class="lang-css">.pretty-text-underline {
font-family: Arial, sans-serif;
display: inline;
font-size: 18px;
text-shadow: 1px 1px 0 #f5f6f9,
-1px 1px 0 #f5f6f9,
-1px -1px 0 #f5f6f9,
1px -1px 0 #f5f6f9;
background-image: linear-gradient(90deg, currentColor 100%, transparent 100%);
background-position: 0 1.04em;
background-position: 0 0.98em;
background-repeat: repeat-x;
background-size: 1px 1px;
}
Expand All @@ -1141,11 +1142,12 @@ <h4 data-type="Demo">Demo</h4>
</div>
<style>
.snippet-demo__pretty-text-underline {
font-family: Arial, sans-serif;
display: inline;
font-size: 18px !important;
text-shadow: 1px 1px 0 #f5f6f9, -1px 1px 0 #f5f6f9, -1px -1px 0 #f5f6f9, 1px -1px 0 #f5f6f9;
background-image: linear-gradient(90deg, currentColor 100%, transparent 100%);
background-position: 0 1.04em;
background-position: 0 0.98em;
background-repeat: repeat-x;
background-size: 1px 1px;
}
Expand Down Expand Up @@ -1173,7 +1175,7 @@ <h4 data-type="Browser support">Browser support</h4>
94.8%
</div>
</div>
<p><span class="snippet__support-note">⚠️ Firefox requires a vendor prefix for the selection pseudo-selector to work.</span></p>
<p><span class="snippet__support-note">⚠️ The distance of the underline from the text depends on the internal metrics of a font, so you must ensure everyone sees the same font (i.e. no system fonts which will change based on the OS).</span></p>
<ul>
<li>
<a href="https://caniuse.com/#feat=css-textshadow" target="_blank">https://caniuse.com/#feat=css-textshadow</a>
Expand Down

0 comments on commit 6d9560a

Please sign in to comment.