fix error color
This commit is contained in:
parent
3111c91542
commit
71faaad767
|
@ -8,15 +8,15 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<p id="wasm_error_label" class="alert alert-danger">
|
||||
<error id="wasm_error_label">
|
||||
Seu navegador não suporta WebAssembly ou algo deu errado
|
||||
</p>
|
||||
</error>
|
||||
|
||||
<h1>Js vs Rust</h1>
|
||||
|
||||
<h2>linguagem:</h2>
|
||||
<button id="runBtnJs" class="btn btn-dark">JavaScript</button>
|
||||
<button id="runBtnRust" class="btn btn-dark">Rust</button>
|
||||
<button id="runBtnJs">JavaScript</button>
|
||||
<button id="runBtnRust">Rust</button>
|
||||
<canvas id="drawing" width="600" height="600"> </canvas>
|
||||
<footer>
|
||||
<a href="doc.html">Trabalho escrito</a>
|
||||
|
|
|
@ -16,6 +16,14 @@ body {
|
|||
margin: 5px
|
||||
}
|
||||
|
||||
error {
|
||||
padding: 10px 20px;
|
||||
color: white;
|
||||
background-color: firebrick;
|
||||
border: 2px solid darkred;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
button {
|
||||
width: 150px;
|
||||
font-family: sans-serif;
|
||||
|
|
Loading…
Reference in New Issue