Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- html
- <!DOCTYPE html>
- <html>
- <head>
- <title>div</title>
- <link rel="stylesheet" TYPE="text/css" href="style.css">
- </head>
- <body>
- <div class="container">
- <div class="rowOne">
- <div class="one"></div>
- <div class="two"></div>
- <div class="three">
- </div>
- <div class="four">
- <div class="partone"></div>
- <div class="parttwo"></div>
- <div class="partthree">
- <div class="partoneOne"></div>
- <div class="partoneTwo"></div>
- <div class="partoneThree"></div>
- </div>
- </div>
- <div class="five"></div>
- </div>
- <div class="rowTwo">
- <div class="oneBig"></div>
- <div class="twoBig">
- <div class="oneBigone"></div>
- <div class="oneBigtwo"></div>
- </div>
- <div class="threeBig">
- <div class="bigOne">
- <div class="bigOneone"></div>
- <div class="bigTwotwo"></div>
- </div>
- <div class="bigTwo">
- </div>
- </div>
- <div class="fourBig">
- <div class="fourOne"></div>
- <div class="fourTwo"></div>
- </div>
- </div>
- <div class="divthree">
- <div class="prv"></div>
- <div class="vtor"></div>
- <div class="tret"></div>
- <div class="cetvrt"></div>
- <div class="pet">
- <div class="kocka">
- <div class="pet1"></div>
- <div class="pet2"></div>
- <div class="pet3"></div>
- <div class="pet4"></div>
- </div>
- <div class="sest"></div>
- </div>
- <div class="sedum">
- <div class="sedum1"></div>
- <div class="sedum2"></div>
- </div>
- <div class="osum"></div>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
- css
- .container{
- width: 900px;
- height:630px ;
- float: left;
- border:5px solid black;
- box-sizing: border-box;
- background-color: gray;
- }
- .rowOne{
- width: 20%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: white;
- box-sizing: border-box;
- }
- .rowTwo{
- width: 50%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: yellow;
- box-sizing: border-box;
- }
- .one{
- width: 100%;
- height: 10%;
- float: left;
- border: 5px solid black;
- background: green;
- box-sizing: border-box;
- }
- .two{
- width: 100%;
- height: 20%;
- float: left;
- border: 5px solid black;
- background: red;
- box-sizing: border-box;
- }
- .three{
- width: 100%;
- height: 20%;
- float: left;
- border: 5px solid black;
- background: blue;
- box-sizing: border-box;
- }
- .four{
- width: 100%;
- height: 20%;
- float: left;
- border: 5px solid black;
- background: green;
- box-sizing: border-box;
- }
- .five{
- width: 100%;
- height: 30%;
- float: left;
- border: 5px solid black;
- background: orange;
- box-sizing: border-box;
- }
- .partone{
- width: 100%;
- height: 30%;
- float: left;
- border: 5px solid black;
- background: orange;
- box-sizing: border-box;
- }
- .parttwo{
- width: 100%;
- height: 30%;
- float: left;
- border: 5px solid black;
- background: gray;
- box-sizing: border-box;
- }
- .partthree{
- width: 100%;
- height: 40%;
- float: left;
- border: 5px solid black;
- background: gray;
- box-sizing: border-box;
- }
- .partoneOne{
- width: 15%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: white;
- box-sizing: border-box;
- }
- .partoneTwo{
- width: 25%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: white;
- box-sizing: border-box;
- }
- .partoneThree{
- width: 60%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: gray;
- box-sizing: border-box;
- }
- .oneBig{
- width: 100%;
- height: 10%;
- float: left;
- border: 5px solid black;
- background: green;
- box-sizing: border-box;
- }
- .twoBig{
- width: 100%;
- height: 20%;
- float: left;
- border: 5px solid black;
- background: green;
- box-sizing: border-box;
- }
- .oneBigone{
- width: 30%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: chocolate;
- box-sizing: border-box;
- }
- .oneBigtwo{
- width: 70%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: purple;
- box-sizing: border-box;
- }
- .threeBig{
- width: 100%;
- height: 55%;
- float: left;
- border: 5px solid black;
- background: orange;
- box-sizing: border-box;
- }
- .bigOne{
- width: 70%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: blue;
- box-sizing: border-box;
- }
- .bigTwo{
- width: 30%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: blue;
- box-sizing: border-box;
- }
- .bigOneone{
- width: 100%;
- height: 40%;
- float: left;
- border: 5px solid black;
- background: blue;
- box-sizing: border-box;
- }
- .bigTwotwo{
- width: 100%;
- height: 60%;
- float: left;
- border: 5px solid black;
- background: orange;
- box-sizing: border-box;
- }
- .fourBig{
- width: 100%;
- height: 15%;
- float: left;
- border: 5px solid black;
- background: blue;
- box-sizing: border-box;
- }
- .fourOne{
- width: 70%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: red;
- box-sizing: border-box;
- }
- .fourTwo{
- width: 30%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: orange;
- box-sizing: border-box;
- }
- .divthree{
- width: 30%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: red;
- box-sizing: border-box;
- }
- .prv{
- width: 70%;
- height: 10%;
- float: left;
- border: 5px solid black;
- background: green;
- box-sizing: border-box
- }
- .vtor{
- width: 30%;
- height: 10%;
- float: left;
- border: 5px solid black;
- background: green;
- box-sizing: border-box
- }
- .tret{
- width: 70%;
- height: 20%;
- float: left;
- border: 5px solid black;
- background: red;
- box-sizing: border-box
- }
- .cetvrt{
- width: 30%;
- height: 20%;
- float: left;
- border: 5px solid black;
- background: orange;
- box-sizing: border-box
- }
- .pet{
- width: 100%;
- height: 22.5%;
- float: left;
- border: 5px solid black;
- background: white;
- box-sizing: border-box;
- }
- .kocka{
- width: 70%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: white;
- box-sizing: border-box;
- }
- .pet1{
- width: 30%;
- height: 50%;
- float: left;
- border: 5px solid black;
- background: brown;
- box-sizing: border-box;
- }
- .pet2{
- width: 70%;
- height: 50%;
- float: left;
- border: 5px solid black;
- background: gray;
- box-sizing: border-box;
- }
- .pet3{
- width: 30%;
- height: 50%;
- float: left;
- border: 5px solid black;
- background: gray;
- box-sizing: border-box;
- }
- .pet4{
- width: 70%;
- height: 50%;
- float: left;
- border: 5px solid black;
- background: brown;
- box-sizing: border-box;
- }
- .sest{
- width: 30%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: yellow;
- box-sizing: border-box;
- }
- /*.osum{
- width: 100%;
- height: 15%;
- float: left;
- border: 5px solid black;
- background: blue;
- box-sizing: border-box;
- }*/
- .sedum{
- width: 100%;
- height: 32.5%;
- float: left;
- border: 5px solid black;
- background: yellow;
- box-sizing: border-box;
- }
- .sedum1{
- width: 70%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: blue;
- box-sizing: border-box;
- }
- .sedum2{
- width: 30%;
- height: 100%;
- float: left;
- border: 5px solid black;
- background: chocolate;
- box-sizing: border-box;
- }
- .osum{
- width: 100%;
- height: 15%;
- float: left;
- border: 5px solid black;
- background: yellow;
- box-sizing: border-box;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement