W divach o klasach .panelLewy i .panelPrawy nie wyswietla sie tekst ktory jest wpisany w te divy.
HMTL:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel = 'stylesheet' href = 'style.css'>
<script src = 'app.js' defer></script>
</head>
<body>
<div class = 'baner'>
STACJA METEO
</div>
<div class = 'panelLewy'>
NIE WYSWIETLA SIE
</div>
<div class = 'panelPrawy'>
NIE WYSWIETLA SIE
</div>
<div class = 'stopka'>
WYKONAŁ ....
</div>
</body>
</html>
CSS:
html {
height: 100%;
}
body {
margin: 0;
background-color: #487684;
}
.baner{
background-image: linear-gradient(white, #487684);
z-index: 2;
position: absolute;
top: 0px;
height: 150px;
width: 100%;
font-family: 'arial';
font-size: 40px;
color: red;
font-weight: 600;
text-align: center;
line-height: 150px;
}
.stopka{
background-image: linear-gradient(#487684, white);
z-index: 2;
position: absolute;
bottom: 0px;
height: 150px;
width: 100%;
font-family: 'arial';
font-size: 20px;
color: red;
font-weight: 300;
text-align: center;
line-height: 200px;
}
.panelLewy{
width: 65%;
height: 800px;
background-color: green;
float: left;
}
.panelPrawy{
width: 35%;
height: 800px;
background-color: red;
float: left;
}
z gory dziekuje za pomoc