css strony2
Data utworzenia: 2025-04-08 07:02:14
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: sans-serif;
font-size: 24px;
background-color: #222;
color: white;
}
nav {
display: flex;
width: 100%;
height: 60px;
background-color: rgb(142, 223, 243);
text-align: center;
justify-content: flex-end;
}
nav ul {
display: flex;
/* text-decoration: none; */
}
li {
margin: auto 20px;
list-style-type: none;
}
a {
text-decoration: none;
color: #ebebeb;
text-shadow: 1px 1px 0 black;
}
/* HEADER */
header {
display: flex;
flex-direction: column;
text-align: center;
justify-content: center;
width: 100%;
height: 700px;
background-image: url(background.jpg);
background-size: cover;
}
header h1 {
display: flex;
justify-content: center;
justify-items: center;
}
span {
text-transform: none;
color: gray;
margin-left: 20px;
}
h1 {
text-transform: uppercase;
}
section {
width: 80%;
margin: 30px auto;
height: 700px;
display: flex;
flex-wrap: wrap;
}
.image {
margin: 10px;
width: 30%;
height: 40%;
background-color: #fff;
}
.image1 {
background-color: url();
}
.image2 {
background-color: url();
}
.image3 {
background-color: url();
}
.image4 {
background-color: url();
}
.image5 {
background-color: url();
}
.image6 {
background-color: url();
}
Powrót