This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Paragraph outside the template!</p> <!--after adding custom-paragraph to the page, all p-elements will take over the template styling--> | |
<template id="custom-paragraph"> | |
<style> | |
p { | |
color: white; | |
background-color: #666; | |
padding: 5px; | |
} | |
</style> | |
<p>My custom paragraph</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template id="custom-paragraph"> | |
<p>My custom paragraph</p> | |
</template> |
NewerOlder