An experiment in cleaning up CSS by just avoiding dis-features and focusing on flexbox and CSS grids.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<script>
|
|
import { onMount } from 'svelte';
|
|
export let source = "";
|
|
let code = "";
|
|
|
|
onMount(() => {
|
|
fetch(source)
|
|
.then(resource => resource.text())
|
|
.then(data => code = data);
|
|
});
|
|
</script>
|
|
|
|
|
|
<style>
|
|
|
|
</style>
|
|
|
|
|
|
<pre>
|
|
<code>
|
|
{code}
|
|
</code>
|
|
</pre>
|
|
|
|
|