Task 1
This commit is contained in:
43
task-1.html
Normal file
43
task-1.html
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Практична робота №2. Завдання №1</title>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.block-1, .block-2 {
|
||||||
|
width: 400px;
|
||||||
|
height: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.block-1 {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
background-color: palevioletred;
|
||||||
|
}
|
||||||
|
|
||||||
|
.block-2 {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
background-color: palegoldenrod;
|
||||||
|
}
|
||||||
|
|
||||||
|
.block-3 {
|
||||||
|
position: absolute;
|
||||||
|
top: 500px;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 400px;
|
||||||
|
background-color: paleturquoise;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="block-1"></div>
|
||||||
|
<div class="block-2"></div>
|
||||||
|
<div class="block-3"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user