mirror of https://github.com/sveltejs/svelte
parent
c2b05886ed
commit
bc9b72ceac
@ -1,9 +1,9 @@
|
||||
<p>Styled!</p>
|
||||
|
||||
<style>
|
||||
p {
|
||||
color: purple;
|
||||
font-family: 'Comic Sans MS', cursive;
|
||||
font-size: 2em;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Styled!</p>
|
||||
</style>
|
||||
@ -1,5 +1,7 @@
|
||||
<style>
|
||||
strong { color: blue; }
|
||||
</style>
|
||||
<strong>Blue thing</strong>
|
||||
|
||||
<strong>blue thing</strong>
|
||||
<style>
|
||||
strong {
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
||||
@ -1,5 +1,7 @@
|
||||
<style>
|
||||
strong { color: green; }
|
||||
</style>
|
||||
<strong>Green thing</strong>
|
||||
|
||||
<strong>green thing</strong>
|
||||
<style>
|
||||
strong {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
@ -1,5 +1,7 @@
|
||||
<style>
|
||||
strong { color: red; }
|
||||
</style>
|
||||
<strong>Red thing</strong>
|
||||
|
||||
<strong>red thing</strong>
|
||||
<style>
|
||||
strong {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in new issue