Team:UCLA/anuved verma ucla2014 workspace/CSS

From 2014.igem.org

(Difference between revisions)
Line 354: Line 354:
<style>
<style>
 +
 +
 +
<!--CONTENT DIV-->
 +
<!--SUMMARY TITLES-->
 +
<style type="text/css">
 +
.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>

Revision as of 02:27, 20 September 2014