Difference between revisions of "Template:DoubleBorder"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | < | + | <style type="text/css"> |
− | + | div { border:1px solid black; } | |
− | </div>< | + | .infront { |
− | < | + | background-color:#ff9900; |
+ | width:100px; | ||
+ | height: 100px; | ||
+ | position: relative; | ||
+ | top: 10; | ||
+ | left:80; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | .behind { | ||
+ | background-color:#eeeeee; | ||
+ | width:100px; | ||
+ | height: 100px; | ||
+ | position: relative; | ||
+ | top: -60; | ||
+ | left:35; | ||
+ | z-index: 1; | ||
+ | } | ||
+ | </style> | ||
+ | <div class="infront"> | ||
+ | In front | ||
+ | </div> | ||
+ | <div class="behind"> | ||
+ | Behind | ||
+ | </div> |
Revision as of 14:32, 5 April 2013
<style type="text/css"> div { border:1px solid black; } .infront { background-color:#ff9900; width:100px; height: 100px; position: relative; top: 10; left:80; z-index: 2; } .behind { background-color:#eeeeee; width:100px; height: 100px; position: relative; top: -60; left:35; z-index: 1; } </style>
In front
Behind