Line 18: | Line 18: | ||
} | } | ||
− | .textOverImage > div,.textOverImage > | + | .textOverImage > div,.textOverImage > h3{ |
position:absolute; | position:absolute; | ||
background-color:rgba(255,255,255,0.8); | background-color:rgba(255,255,255,0.8); | ||
Line 31: | Line 31: | ||
} | } | ||
− | .textOverImage:hover > | + | .textOverImage:hover > h3,.textOverImage > input:checked + h3 + div{ |
bottom:4px; | bottom:4px; | ||
opacity:1; | opacity:1; | ||
} | } | ||
− | .textOverImage > input:checked + | + | .textOverImage > input:checked + h3{ |
bottom:-20px; | bottom:-20px; | ||
opacity:0; | opacity:0; | ||
} | } | ||
− | .textOverImage > | + | .textOverImage > h3{ |
margin:0; | margin:0; | ||
} | } |
Revision as of 20:54, 26 September 2018