Line 298: | Line 298: | ||
/* Style the Image Used to Trigger the Modal */ | /* Style the Image Used to Trigger the Modal */ | ||
− | + | .myImg { | |
border-radius: 5px; | border-radius: 5px; | ||
cursor: pointer; | cursor: pointer; | ||
Line 304: | Line 304: | ||
} | } | ||
− | + | .myImg:hover {opacity: 0.7;} | |
/* The Modal (background) */ | /* The Modal (background) */ | ||
Line 331: | Line 331: | ||
/* Caption of Modal Image (Image Text) - Same Width as the Image */ | /* Caption of Modal Image (Image Text) - Same Width as the Image */ | ||
− | + | .caption { | |
margin: auto; | margin: auto; | ||
display: block; | display: block; |
Revision as of 21:27, 24 October 2017