Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions live-examples/css-examples/css/text-decoration-line.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
p {
font: 1.5em sans-serif;
color: #352995;
}
49 changes: 49 additions & 0 deletions live-examples/css-examples/text-decoration-line.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<section id="example-choice-list" class="example-choice-list" data-property="textDecorationLine">
<div class="example-choice">
<pre><code id="example_one" class="language-css">text-decoration-line: none;</code></pre>
<button type="button" class="copy hidden" aria-hidden="true" data-clipboard-target="#example_one">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
</div>

<div class="example-choice" initial-choice="true">
<pre><code id="example_two" class="language-css">text-decoration-line: underline;</code></pre>
<button type="button" class="copy hidden" aria-hidden="true" data-clipboard-target="#example_two">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
</div>

<div class="example-choice">
<pre><code id="example_three" class="language-css">text-decoration-line: overline;</code></pre>
<button type="button" class="copy hidden" aria-hidden="true" data-clipboard-target="#example_three">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
</div>

<div class="example-choice">
<pre><code id="example_four" class="language-css">text-decoration-line: line-through;</code></pre>
<button type="button" class="copy hidden" aria-hidden="true" data-clipboard-target="#example_four">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
</div>

<div class="example-choice">
<pre><code id="example_five" class="language-css">text-decoration-line: underline overline;</code></pre>
<button type="button" class="copy hidden" aria-hidden="true" data-clipboard-target="#example_five">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
</div>

<div class="example-choice">
<pre><code id="example_six" class="language-css">text-decoration-line: underline line-through;</code></pre>
<button type="button" class="copy hidden" aria-hidden="true" data-clipboard-target="#example_six">
<span class="visually-hidden">Copy to Clipboard</span>
</button>
</div>
</section>

<div id="output" class="output hidden">
<section id="default-example">
<p>I'd far rather be <span id="example-element" class="transition-all">happy than right</span> any day.</p>
</section>
</div>
9 changes: 9 additions & 0 deletions site.json
Original file line number Diff line number Diff line change
Expand Up @@ -3403,6 +3403,15 @@
"title": "CSS Demo: text-decoration",
"type": "css"
},
"textDecorationLine": {
"baseTmpl": "tmpl/live-css-tmpl.html",
"cssExampleSrc":
"../../live-examples/css-examples/css/text-decoration-line.css",
"exampleCode": "live-examples/css-examples/text-decoration-line.html",
"fileName": "text-decoration-line.html",
"title": "CSS Demo: text-decoration-line",
"type": "css"
},
"textDecorationSkipInk": {
"baseTmpl": "tmpl/live-css-tmpl.html",
"cssExampleSrc":
Expand Down