Skip to content

Commit

Permalink
Fix example snippet showing <style> contents
Browse files Browse the repository at this point in the history
  • Loading branch information
kgscialdone committed Dec 1, 2023
1 parent 551b779 commit c0710b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ In many cases, it's beneficial to be able to define attributes where a component
```html
<template component="labeled-input">
<style>
* { display: block; }
label, input { display: block; }
label[required]::after { content: ' *'; color: red; }
</style>
<label inherit="name>for required"><slot>Input</slot></label>
Expand Down

0 comments on commit c0710b7

Please sign in to comment.