Team:UCLA/Template/CSS test
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
Samichaels (Talk | contribs) |
||
Line 479: | Line 479: | ||
margin-right:20px; | margin-right:20px; | ||
margin-bottom:20px; | margin-bottom:20px; | ||
+ | } | ||
+ | |||
+ | <!--CONTENT DIV--> | ||
+ | <!--SUMMARY TITLES--> | ||
+ | .content_div_container{ | ||
+ | background-color:blue; | ||
+ | position: fixed; | ||
+ | display:inline-block; | ||
+ | border: 2px solid #CCCCB2; | ||
+ | border-radius: 10px; | ||
+ | margin: 20px 20px 20px 20px; | ||
+ | overflow:hidden; | ||
+ | height: 400px; | ||
+ | width: 400px; | ||
+ | } | ||
+ | .content_div_text{ | ||
+ | position: absolute; | ||
+ | padding: 10 10 10 10; | ||
+ | top: 300px; | ||
+ | left: 0; | ||
+ | background-color:black; | ||
+ | opacity: 0.5; | ||
+ | } | ||
+ | .content_div_text h3 { | ||
+ | font-family: Verdana; | ||
+ | margin: 10px 10px 10px 10px; | ||
+ | color: white; | ||
+ | opacity: 1; | ||
+ | } | ||
+ | .content_div_text p { | ||
+ | font-family: Verdana; | ||
+ | margin: 10px 10px 10px 10px; | ||
+ | color: white; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 22:20, 15 September 2014