(Blanked the page) |
|||
Line 1: | Line 1: | ||
+ | #intro { | ||
+ | color:Black; | ||
+ | background-color:Yellow; | ||
+ | } | ||
+ | header{ | ||
+ | background-color:LightGreen; | ||
+ | border-radius:10px; | ||
+ | } | ||
+ | |||
+ | |||
+ | article{ | ||
+ | background-color:LightGreen; | ||
+ | } | ||
+ | |||
+ | #thumbnail { | ||
+ | display: block; | ||
+ | width: 150px; | ||
+ | height: 150px; | ||
+ | } | ||
+ | |||
+ | #thumbnail:hover + #title { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | #title { | ||
+ | display: none; | ||
+ | color: #ffffff; | ||
+ | background-color: #000000; | ||
+ | text-align: center; | ||
+ | width: 130px; | ||
+ | padding: 10px; | ||
+ | } |
Revision as of 13:08, 29 May 2018
- intro {
color:Black; background-color:Yellow; }
header{ background-color:LightGreen; border-radius:10px; }
article{
background-color:LightGreen;
}
#thumbnail { display: block; width: 150px; height: 150px; } #thumbnail:hover + #title { display: block; } #title { display: none; color: #ffffff; background-color: #000000; text-align: center; width: 130px; padding: 10px; }