Team:UCLA/Template/CSS test
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
Samichaels (Talk | contribs) |
||
Line 519: | Line 519: | ||
<!--BLURB BOXES--> | <!--BLURB BOXES--> | ||
- | + | *, | |
- | + | *:before, | |
+ | *:after { | ||
+ | box-sizing: border-box; | ||
} | } | ||
- | + | body, | |
- | + | html { | |
- | + | width: 100%; | |
- | + | height: 100%; | |
- | + | ||
- | + | ||
} | } | ||
- | + | body { | |
- | + | padding: 40px; | |
- | + | background-color: rgb(255,80,100); | |
- | + | text-align: center; | |
} | } | ||
- | + | .triangle { | |
- | + | display: inline-block; | |
- | - | + | margin: 0 20px; |
- | - | + | vertical-align: middle; |
- | - | + | } |
- | - | + | .triangle-1 { |
+ | width: 100px; | ||
+ | height: 100px; | ||
+ | border-bottom: solid 50px rgb(200,30,50); | ||
+ | border-left: solid 50px rgb(200,30,50); | ||
+ | border-right: solid 50px transparent; | ||
+ | border-top: solid 50px transparent; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 22:08, 11 August 2014