Compare commits
2 Commits
f5c52bab2e
...
48973968fb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48973968fb | ||
|
|
e17d097b49 |
@ -5,10 +5,25 @@ body {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
header img {
|
header img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-text {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
color: white;
|
||||||
|
font-size: 48px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
nav, footer {
|
nav, footer {
|
||||||
background-color: #625B5B;
|
background-color: #625B5B;
|
||||||
color: white;
|
color: white;
|
||||||
|
|||||||
1
i1.html
1
i1.html
@ -8,6 +8,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<img src="imgs/baner.png" alt="kursy komputerowe">
|
<img src="imgs/baner.png" alt="kursy komputerowe">
|
||||||
|
<div class="header-text">hello</div>
|
||||||
</header>
|
</header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="i1.html">Strona główna</a>
|
<a href="i1.html">Strona główna</a>
|
||||||
|
|||||||
@ -8,6 +8,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<img src="imgs/baner.png" alt="kursy komputerowe">
|
<img src="imgs/baner.png" alt="kursy komputerowe">
|
||||||
|
<div class="header-text">hello</div>
|
||||||
</header>
|
</header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="i1.html">Strona główna</a>
|
<a href="i1.html">Strona główna</a>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user