mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
32 lines
287 B
HTML
32 lines
287 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
|
|
<style>
|
|
c-e::part(textspan) { color: red; }
|
|
</style>
|
|
|
|
<template id="c-e-template">
|
|
<span part="
|
|
textspan
|
|
|
|
a
|
|
|
|
|
|
b
|
|
|
|
|
|
|
|
c
|
|
|
|
|
|
">This text will be red</span>
|
|
</template>
|
|
|
|
<c-e></c-e>
|
|
|
|
</body>
|
|
</html> |