Difference between revisions of "Team:Stony Brook"
(fixing...... (changed background to content container instead) |
(preview looks weird now but still fixing... (background placed on body instead)) |
||
Line 65: | Line 65: | ||
//overflow: hidden; | //overflow: hidden; | ||
width: 100vw; | width: 100vw; | ||
− | background-image: url("https://static.igem.org/mediawiki/2015/c/c4/SB_Campus_arial_view.jpg"); | + | //background-image: url("https://static.igem.org/mediawiki/2015/c/c4/SB_Campus_arial_view.jpg"); |
− | background-size: cover; | + | //background-size: cover; |
− | background-repeat: no-repeat; | + | //background-repeat: no-repeat; |
+ | } | ||
+ | |||
+ | body { | ||
+ | background-image: url(https://static.igem.org/mediawiki/2015/c/c4/SB_Campus_arial_view.jpg); | ||
+ | background-repeat:no-repeat; | ||
+ | background-position: center center; | ||
+ | background-attachment: fixed; | ||
+ | -webkit-background-size: cover; | ||
+ | -moz-background-size: cover; | ||
+ | -o-background-size: cover; | ||
+ | background-size: cover; | ||
} | } | ||
</style> | </style> |
Revision as of 18:55, 4 August 2015