diff --git a/README.md b/README.md index a13833c..9e17c2a 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,10 @@ * [grid: <'grid-template'> \| <'grid-template-rows'> / \[ auto-flow && dense? \] <'grid-auto-columns'>? \| \[ auto-flow && dense? \] <'grid-auto-rows'>? / <'grid-template-columns'>](grid.html) * [grid-area: <grid-line> \[ / <grid-line> \]{0,3}](grid-area.html) * [CSS line-clamp generator](line-clamp-generator.html) + +# 테스트 +``` +$ node main.js +``` +- [개선된 CSS 페이지](http://localhost:3000/optimized) +- [기존 CSS 페이지](http://localhost:3000/unoptimized) diff --git a/defer-css-my-work.css b/defer-css-my-work.css new file mode 100644 index 0000000..e6e6f82 --- /dev/null +++ b/defer-css-my-work.css @@ -0,0 +1,32 @@ +/* Copyright 2018 Google LLC. SPDX-License-Identifier: Apache-2.0 */ + +.accordion-btn:hover { + background-color: #87cefa; +} + +.paragraph1 { + word-wrap: break-word; + color: #ffa500; +} + +.paragraph2 { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + color: #0000cd; +} + +.paragraph3 { + white-space: nowrap; + overflow: hidden; + text-overflow: clip; + color: #228b22; +} + +p { + font-size: 18px; + font-family: Arial, Helvetica, sans-serif; + border: 1px solid #2e86c1; + border-radius: 2px; + padding: 5px; +} diff --git a/defer-css-optimized-my-work.html b/defer-css-optimized-my-work.html new file mode 100644 index 0000000..d93efb1 --- /dev/null +++ b/defer-css-optimized-my-work.html @@ -0,0 +1,77 @@ + + + +
+ +This is an example of a paragraph that uses line breaks for text. This is an example of a paragraph that uses line breaks for text. This is an example of a paragraph that uses line breaks for text. This is an example of a paragraph that uses line breaks for text. This is an example of a paragraph that uses line breaks for text. This is an example of a paragraph that uses line breaks for text. This is an example of a paragraph that uses line breaks for text.
+This is an example of a paragraph that uses elipsis for the overflow text. This is an example of a paragraph that uses elipsis for the overflow text. This is an example of a paragraph that uses elipsis for the overflow text. This is an example of a paragraph that uses elipsis for the overflow text.
+This is an example of a paragraph that trims text. This is an example of a paragraph that trims text. This is an example of a paragraph that trims text. This is an example of a paragraph that trims text. This is an example of a paragraph that trims text. This is an example of a paragraph that trims text.
+