vite/playground/css-lightningcss/index.html
Hugo Nogueira 8517645b57
fix: lightningCSS should load external URL in CSS file (#13692)
Co-authored-by: Arnaud Barré <arnaud.barre@carbometrix.com>
2023-07-03 16:06:23 +02:00

32 lines
899 B
HTML

<link rel="stylesheet" href="./linked.css" />
<div class="wrapper">
<h1>Lightning CSS</h1>
<p class="linked">&lt;link&gt;: This should be blue</p>
<p class="linked-at-import">@import in &lt;link&gt;: This should be red</p>
<p class="imported">import from js: This should be green</p>
<p class="imported-at-import">
@import in import from js: This should be purple
</p>
<p class="modules">CSS modules: this should be turquoise</p>
<p>Imported CSS module:</p>
<pre class="modules-code"></pre>
<p>Imported compose/from CSS module:</p>
<p class="path-resolved-modules-css">
CSS modules composes path resolving: this should be turquoise
</p>
<pre class="path-resolved-modules-code"></pre>
<p>Inline CSS module:</p>
<pre class="modules-inline"></pre>
<p>External URL</p>
<div class="external"></div>
</div>
<script type="module" src="./main.js"></script>