Team:NCTU Formosa/source/head-index
From 2014.igem.org
(Difference between revisions)
(18 intermediate revisions not shown) | |||
Line 8: | Line 8: | ||
} | } | ||
- | + | .attach{ | |
+ | margin-left: 30%; | ||
+ | position: relative; | ||
+ | z-index: 2; | ||
+ | top:50%; | ||
+ | cursor:pointer; | ||
+ | } | ||
.wordbox p a{ | .wordbox p a{ | ||
Line 261: | Line 267: | ||
} | } | ||
#description .wordbox { | #description .wordbox { | ||
- | + | top: -17%; | |
- | padding: | + | padding:30pt; |
font-weight:300; | font-weight:300; | ||
width:98%; | width:98%; | ||
Line 269: | Line 275: | ||
text-align:justify; | text-align:justify; | ||
text-justify:inter-word; | text-justify:inter-word; | ||
- | background-color: rgba( | + | background-color: rgba(156, 156, 156, 0.76); |
border-radius: 30px; | border-radius: 30px; | ||
- | opacity: 0 | + | opacity: 0; |
float:left; | float:left; | ||
- | color: | + | color: white; |
- | + | z-index: 1; | |
- | + | position: relative; | |
- | + | box-shadow: 0px 0px 12px 7px #B7600B; | |
- | + | letter-spacing: 1px; | |
- | - | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 657: | Line 646: | ||
}); | }); | ||
}); | }); | ||
+ | </script> | ||
+ | |||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | $(".attach").click(function(){ | ||
+ | $(".wordbox").animate({ | ||
+ | opacity:'1' | ||
+ | |||
+ | }); | ||
+ | $(".attach").animate({ | ||
+ | opacity:'0 ' | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | }); | ||
+ | |||
+ | |||
</script> | </script> |
Latest revision as of 03:55, 18 October 2014