Adityakamat (Talk | contribs) |
Adityakamat (Talk | contribs) |
||
Line 26: | Line 26: | ||
} | } | ||
− | div. | + | div.gallery { |
− | + | margin: 5px; | |
− | + | border: 1px solid #ccc; | |
− | + | float: left; | |
− | width: | + | width: 180px; |
} | } | ||
− | + | div.gallery:hover { | |
− | + | border: 1px solid #777; | |
− | + | ||
} | } | ||
− | . | + | |
− | + | div.gallery img { | |
+ | width: 100%; | ||
+ | height: auto; | ||
} | } | ||
+ | div.desc { | ||
+ | padding: 15px; | ||
+ | text-align: center; | ||
+ | } | ||
/* Create a Parallax Effect */ | /* Create a Parallax Effect */ | ||
Line 217: | Line 222: | ||
</style> | </style> | ||
− | |||
− | <div class=" | + | <div class="gallery"> |
− | <img src="https://static.igem.org/mediawiki/2017/ | + | <img src="https://static.igem.org/mediawiki/2017/e/e4/Autoclave_ict.jpeg" alt="Trolltunga Norway" width="300" height="200"> |
− | + | </a> | |
− | + | <div class="desc">Autoclave facility</div> | |
− | + | ||
</div> | </div> | ||
+ | |||
+ | <div class="gallery"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/1/14/Min1_1509506194_59.182.136.30.jpg" alt="Forest" width="600" height="400"> | ||
+ | </a> | ||
+ | <div class="desc">Laminar air flow facility</div> | ||
</div> | </div> | ||
+ | |||
Revision as of 04:13, 1 November 2017