103 lines
2.7 KiB
Plaintext
103 lines
2.7 KiB
Plaintext
#
|
|
# ID: 3371cc
|
|
# Nazwa: Kartkowka z stron internetowych
|
|
# Opis: Mój kod do kartkówki z projektowania stron internetowych 26.10
|
|
# Publiczny: 0
|
|
# Data utworzenia/ostatniej edycji (UTC): 2023-10-26 13:40:29
|
|
#
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Flexbox kartkówka</title>
|
|
|
|
<style>
|
|
|
|
:root {
|
|
|
|
font-size: 20px; /* Zmiana tej wartości wpłynie na wygląd całej strony (użyj jeżeli nie działa na twoim wyświetlaczu) */
|
|
|
|
|
|
|
|
--bg-color: white;
|
|
|
|
--elem-color: rgb(60, 162, 135);
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background: var(--bg-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.box {
|
|
|
|
background: var(--elem-color);
|
|
|
|
width: 10rem;
|
|
|
|
height: 10rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box.circle {
|
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box3 {
|
|
|
|
width: 34rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box3h {
|
|
|
|
height: 34rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.box2 {
|
|
|
|
width: 22rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 2rem;
|
|
|
|
width: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topMain, .footerMain {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.r1, .r2, .r3 {
|
|
|
|
display: flex;
|
|
|
|
gap: 2rem;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<div class="topMain">
|
|
|
|
<div class="left">
|
|
|
|
<div class="r1">
|
|
|
|
<div class="box"></div>
|
|
|
|
<div class="box circle"></div>
|
|
|
|
<div class="box circle"></div>
|
|
|
|
<div class="box circle"></div>
|
|
|
|
</div>
|
|
|
|
<div class="r2">
|
|
|
|
<div class="box circle"></div>
|
|
|
|
<div class="box box3"></div>
|
|
|
|
</div>
|
|
|
|
<div class="r3">
|
|
|
|
<div class="box"></div>
|
|
|
|
<div class="box"></div>
|
|
|
|
<div class="box"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="right">
|
|
|
|
<div class="box box3h"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="footerMain">
|
|
|
|
<div class="box box3"></div>
|
|
|
|
<div class="box circle"></div>
|
|
|
|
<div class="box"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html> |