A html és a css hozzáadása

This commit is contained in:
TóthZoltán 2022-10-13 12:53:30 +02:00
parent 201e6ec580
commit ad4296f051
2 changed files with 95 additions and 0 deletions

68
index.html Normal file
View File

@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Rendelések</title>
</head>
<body>
<h1>Megrendelés részletek</h1>
<h2>rendelés száma: 2</h2>
<table>
<thead>
<tr>
<td colspan="2">Termék neve</td>
<td>Mennyiség</td>
<td>Nettó egységár</td>
<td>Áfa %</td>
<td>Bruttó ár</td>
</tr>
</thead>
<tbody>
<tr>
<td><img src="polo.png" alt=""></td>
<td>Poló L-es</td>
<td>2 db</td>
<td>1 495 Ft</td>
<td>27%</td>
<td>3 798 Ft</td>
</tr>
<tr>
<td><img src="polo.png" alt=""></td>
<td>Poló S-es</td>
<td>2 db</td>
<td>1 495 Ft</td>
<td>27%</td>
<td>3 798 Ft</td>
</tr>
<tr>
<td><img src="bogre.png" alt=""></td>
<td>Bögre</td>
<td>1 567 Ft</td>
<td>1 db</td>
<td>27%</td>
<td>1 990 Ft</td>
</tr>
<tr>
<td><img src="sapka.png" alt=""></td>
<td>Baseball sapka</td>
<td>1 db</td>
<td>3 142 Ft</td>
<td>27 %</td>
<td>3 990</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Összesen:</td>
<td>13 576 Ft</td>
</tr>
</tfoot>
</table>
</body>
</html>

27
style.css Normal file
View File

@ -0,0 +1,27 @@
*{
margin: auto;
}
body{
background-color: gray;
width: 800px;
}
h1{
text-align: center;
font-size: 18px;
}
h2{
text-align: center;
font-style: italic;
}
table{
border: 2px solid black;
border-collapse: collapse;
}
tr, td{
border: 1px solid black;
}
img{
width: 120px;
height: 120px;
}