maciejkapaste-backup-2023-2.../pastes/paste_f14909.txt

55 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2023-12-31 18:17:29 +01:00
#
# ID: f14909
# Nazwa: kod na kartkówke ze zgrzebą - svg
# Opis: a
# Publiczny: 0
# Data utworzenia/ostatniej edycji (UTC): 2023-11-20 06:32:29
#
<!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="pl">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="main.css">
<title>Strona w HTML5</title>
</head>
<body>
<div class="klasa">
<form>
<input name="pole" placeholder="Szukaj!">
<input name="ocana" type="number" min="2" max="5" step="0.5" value="2">
<input name="poprawka" type="range" min="2" max="5" step="0.5" value="2">
<input name="termin" type="date" required>
<input name="adres" type="email" autofocus>
<input name="kolor" type="color">
<input type="submit" value="Szukaj">
<script type="text/javascript">
function Draw()
{
var canvas = document.getElementById("c");
var c = canvas.getContext("2d");
c.fillRect(0, 0, 400, 400);
}
window.onload = Draw;
</script>
</form>
</div>
<canvas id="c" width="400" height="400"></canvas>
</body>
</html>
-------------------------------
.klasa
{
font-size: 50px;
position: absolute;
top: 10px;
right: 10px;
padding: 50px;
border: 1px solid #666;
text-shadow: 5px 2px 5px #666;
box-shadow: 10px 10px 5px #888;
}
#c { border-radius: 20px 250px; }