mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
8517645b57
Co-authored-by: Arnaud Barré <arnaud.barre@carbometrix.com>
32 lines
899 B
HTML
32 lines
899 B
HTML
<link rel="stylesheet" href="./linked.css" />
|
|
|
|
<div class="wrapper">
|
|
<h1>Lightning CSS</h1>
|
|
|
|
<p class="linked"><link>: This should be blue</p>
|
|
<p class="linked-at-import">@import in <link>: 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>
|