css strony

Data utworzenia: 2025-04-08 06:38:50
* { 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; }
Powrót