Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="container">
- <div id ="horizontal">
- <div id="border2"></div>
- </div>
- <div id="vertical">
- <div id="border"></div>
- </div>
- </div>
- #container {background: black;
- width: 300px;
- height: 300px;
- margin: 0 auto;
- position:relative
- }
- #vertical {background: white;
- position: absolute;
- width: 70px;
- left: 40% ;
- height: 300px;
- top:0;
- }
- #horizontal {background: white;
- position: absolute;
- height: 60px;
- top:40%;
- left:0;
- width: 100%;
- }
- #border {
- width: 100%;
- height: 150px;
- margin-top: 60px;
- border-top: 2px dashed black;
- border-bottom: 2px dashed black;
- }
- #border2 {
- width: 80%;
- height: 60px;
- border-right: 2px dashed black;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement