We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4433134 commit e5f225bCopy full SHA for e5f225b
1 file changed
src/example.php
@@ -162,6 +162,7 @@ function getHomepage() : string
162
textarea {height: 10em; width: 100%;}
163
164
.empty { opacity: 0.1; background: lightgray; }
165
+ .redirected::before {content: "(redirected to)";}
166
.status-2 p {background: green}
167
.status-4 p {background: orangered}
168
.status-5 p {background: darkred}
@@ -202,7 +203,7 @@ function getHomepage() : string
202
203
});
204
205
output.innerHTML += `
- <p>
206
+ <p class="${response.redirected ? 'redirected' : ''}">
207
<code>${response.status}</code> ${response.statusText}
208
</p>
209
<pre><code>${headers}</code></pre>
0 commit comments