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.
svelte/site/content/tutorial/16-special-elements/07-svelte-options/app-b/App.svelte

14 lines
211 B

<script>
import Square from './Square.svelte';
</script>
<style>
svg {
width: 100%;
height: 100%;
}
</style>
<svg viewBox="0 0 100 100">
<Square cx={50} cy={50} size={40} style="fill: #ff3e00"/>
</svg>