Line 134: | Line 134: | ||
background-image: url("https://static.igem.org/mediawiki/2017/7/73/Calgary2017_Header2.png"); | background-image: url("https://static.igem.org/mediawiki/2017/7/73/Calgary2017_Header2.png"); | ||
− | + | ||
− | background- | + | /* everything shrinks to an extent */ |
− | background-attachment: fixed; | + | background-repeat: no-repeat; |
− | background-size: | + | background-position: center center; |
+ | background-attachment: fixed; | ||
+ | background-size: cover; | ||
+ | |||
+ | /* make sure the background doesnt move when you scroll */ | ||
+ | background-attachment: fixed; | ||
} | } |
Revision as of 20:40, 6 July 2017