css grid + kočičky

This commit is contained in:
Matuush 2023-12-05 19:34:02 +01:00
parent 9199d5b267
commit 96cd11854a
3 changed files with 50 additions and 10 deletions

View file

@ -2,17 +2,57 @@
<html> <html>
<head> <head>
<title> Deez nuts </title> <title> Deez nuts </title>
<style>
.text {
font-size: 24px;
}
.subtitle {
font-size: 36px;
}
.main {
grid-area: main;
}
.left {
grid-area: left;
width: 100%;
height: 100%;
object-fit: cover;
}
.right {
grid-area: right;
width: 100%;
height: 100%;
object-fit: cover;
}
.container {
display: grid;
justify-content: stretch;
grid-template-columns: 3fr 2fr 2fr 3fr;
grid-template-rows: auto;
grid-template-areas:
"left main main right"
"left main main right"
". main main .";
justify-items: center;
}
</style>
</head> </head>
<body> <center> <body> <center>
<h1 class='title'>Tohle je přepadení</h1> <div class='container'>
<p class='text'>"<i>Proč jsme takový vemena Matúši?</i>"</p> <div class='main'>
<h2>Kontakt</h2> <h1 class='title' style='font-size:44px'>Tohle je přepadení</h1>
<p class='contact'> <p class='text'>"<i>Proč jsme takový vemena Matúši?</i>"</p>
Osobní mail: matus1@pull.cz<br> <h2 class='subtitle'>Kontakt</h2>
Discord: the_matuush<br> <p class='text'>
Github: <a href='https://github.com/matuush'>Matuush</a> Osobní mail: matus1@pull.cz<br>
</p> Discord: the_matuush<br>
<h2> Github: <a href='https://github.com/matuush'>Matuush</a>
</center></body> </p>
<h2>
</main>
</div>
<img src='karinka.jpg' class='left'> </img>
<img src='puficek.jpg' class='right'> </img>
</center></body>
</html> </html>

BIN
karinka.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
puficek.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB