changed the loading function by a custom html element
This commit is contained in:
18
test_template_slots/test_2.html
Normal file
18
test_template_slots/test_2.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<p part="title"><slot name="second_paragraph">default test_2.html</slot></p>
|
||||
<style>
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
font-family: monospace;
|
||||
color: blue;
|
||||
}
|
||||
p {
|
||||
border-left: 3px solid blue;
|
||||
padding-left: 1em;
|
||||
}
|
||||
p {
|
||||
/*
|
||||
background-color: lightblue;
|
||||
*/
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user