-
-
Save creyn/d540284113f3155d11b7d15f8eb84225 to your computer and use it in GitHub Desktop.
Droga Programisty : Szybkie Palce : CSS body
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
/* sciezka do pliku z tlem */ | |
background-image: url(obrazki/tlo.png) ; | |
/* pozycja obrazka w pionie i poziomie */ | |
background-position: center center; | |
/* co zrobic jesli ekran komputera jest wiekszy niz obrazek */ | |
background-repeat: no-repeat; | |
/* co sie dzieje z obrazkiem jesli rozszerzamy okienko przegladarki */ | |
background-attachment: fixed; | |
/* rozmiar obrazka */ | |
background-size: cover; | |
/* kolor jaki zostanie wyswietlony pod obrazkiem czyli zanim sie pokaze w przegladarce */ | |
background-color: #999; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment