video elements

This commit is contained in:
Sem van der Hoeven
2023-05-29 12:32:51 +02:00
parent 78421ccf6f
commit a1643f9a5c
2 changed files with 41 additions and 13 deletions

View File

@@ -1,8 +1,25 @@
body { body {
background-color: azure; background-color: azure;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} }
.header { .header {
color: black; color: black;
text-align: center; text-align: center;
} }
.video {
width: 100%;
}
.mainvideo {
width: 60%;
float: left;
border-color: 1px sold blue;
}
.lastpicture {
width: 40%;
float: right;
border-color: 1px solid red;
}

View File

@@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -7,9 +8,19 @@
<title>5G drone API</title> <title>5G drone API</title>
</head> </head>
<body> <body>
<h1 class="header">5G Drone API</h1> <h1 class="header">5G Drone API</h1>
<div class="video">
<div class="mainvideo">
</div>
<div class="lastpicture">
<img id="picture">
</div>
</div>
<p><%- api_connected %></p> <p><%- api_connected %></p>
<div>Hello World!</div> <div>Hello World!</div>
</body> </body>
</html> </html>