l105/PO Informatica P4/Extradingetjeproduct.php
<?php
$type=$_GET['type'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f8f9fa;
margin: 0;
padding: 0;
}
.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
padding: 20px;
}
.column {
background-color: #fff;
border: 1px solid #ddd;
padding: 10px;
text-align: center;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.column img {
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<div class="container">
<?php
$imageUrl = 'https://www.bakkerijkaspers.nl/images/thumbs/0003682_wit-vloer-tijger.jpeg';
for ($i = 0; $i < 1; ) {
echo '<div class="column">';
echo '<img src="' . $imageUrl . '" alt="Foto van Brood">';
echo '</div>';
}
?>
</div>
<?php
// <link href="../css/stijl.css?t=<?php echo time();?.(>)" rel= "stylesheet" type=text/css>
?>
Resultaat
Made by Thijs Aarnoudse