-
-
Save StephenFluin/2980ff04af6ed5caefd854e389361e62 to your computer and use it in GitHub Desktop.
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
<div [style.--main-border-color]=" '#CCC' "> | |
<p style="border: 1px solid var(--main-border-color)">hi</p> | |
</div> |
Author
StephenFluin
commented
Feb 6, 2020
via email
Thanks for letting us know.
What's the error?
…On Thu, Feb 6, 2020 at 1:23 PM Lars Gyrup Brink Nielsen < ***@***.***> wrote:
This snippet is broken.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://gist.github.com/2980ff04af6ed5caefd854e389361e62?email_source=notifications&email_token=AABIJQG3MMIXQG2WRRVZM6LRBR5UJA5CNFSM4KREGZ62YY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAGBNCQ#gistcomment-3168808>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABIJQGN7Y2UWLGL3OSWWY3RBR5UJANCNFSM4KREGZ6Q>
.
Should be this:
<div [style.--main-border-color]="'#CCC'">
<p style="border: 1px solid var(--main-border-color)">hi</p>
</div>
Or even:
<div [style.--main-border-color]=" '#CCC' ">
<p style="border: 1px solid var(--main-border-color)">hi</p>
</div>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment