Skip to content

Commit

Permalink
[EVAN-9676] Updated example for real time HTML preview
Browse files Browse the repository at this point in the history
  • Loading branch information
trishagee committed Aug 9, 2021
1 parent 2e2f0a0 commit bdb96e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web-samples/HTML/RealTimePreview.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</head>
<body>
<h1>Hello</h1>
<h2>And I'm in red</h2>
<h2 class="warning">And I'm in orange</h2>
</body>
</html>
6 changes: 5 additions & 1 deletion web-samples/HTML/realtimestyling.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ h1 {
color: blue;
}

h2 {
.error {
color: red;
}

.warning {
color: orange;
}

0 comments on commit bdb96e7

Please sign in to comment.