Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- *{
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- div{
- display:block;
- }
- body{
- margin:0;
- padding:0;
- }
- nav{
- width:100%;
- min-height: 40px;
- position: absolute;
- z-index: 999;
- width: 100%;
- font-size: 18px;
- }
- nav .navbar_brand {
- max-height: 93px;
- line-height: 65px;
- float: left;
- height: 93px;
- padding: 7px 15px;
- }
- .navContainer{
- box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
- background-color: #fff;
- position: relative;
- }
- .container{
- padding-right: 15px;
- padding-left: 15px;
- margin-right: auto;
- margin-left: auto;
- width: 80%;
- }
- nav, .container{
- display: table;
- content: " ";
- }
- #wrapper{
- background-color: #EEEEEE;
- position: relative;
- }
- .navbar_brand > img{
- position: absolute;
- z-index: 99;
- }
- img{
- vertical-align: middle;
- }
- #triangleLeft{
- width: 186px;
- height: 186px;
- -ms-transform: rotate(45deg); /* IE 9 */
- -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
- transform: rotate(45deg);
- background-color: #fff;
- position: absolute;
- top: -132px;
- margin-left: -108px;
- }
- #triangleRight{
- width: 186px;
- height: 186px;
- -ms-transform: rotate(45deg); /* IE 9 */
- -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
- transform: rotate(45deg);
- background-color: #fff;
- position: absolute;
- top: -132px;
- right: 0;
- margin-right: -93px
- }
- #behindMenu{
- position: relative;
- background-repeat: no-repeat;
- background-size:cover;
- width: 100%;
- height:500px;
- background-image: url('http://www.ecocampuk.co.uk/wp-content/uploads/2012/12/Bell-Tent-in-the-Woods_2.jpg');
- }
- #navCloser{
- width: 100%;
- height:93px;
- position: absolute;
- bottom: 0;
- }
- #closerLeft{
- position: absolute;
- width:10%;
- height: 100%;
- }
- #closerRight{
- position: absolute;
- width:10%;
- height: 100%;
- right:0;
- }
- .closerTriangle{
- position:absolute;
- width: 0;
- height: 0;
- border-style: solid;
- }
- .closerRectangle{
- height:100%;
- position: absolute;
- width: calc(100% - 93px);
- background-color: #ffffff;
- }
- .closerLeft{
- right:0;
- border-width: 93px 0 0 93px;
- border-color: transparent transparent transparent #ffffff;
- }
- .closerRight{
- left:0;
- border-width: 0 0 93px 93px;
- border-color: transparent transparent #ffffff transparent;
- }
- .auctionContainer{
- box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
- width:75%;
- background-color: #fff;
- margin-left: auto;
- margin-right: auto;
- height:10000px;
- float:right;
- }
- .leftBar{
- width: 23%;
- float:left;
- }
- .card{
- padding:0 5px 5px 5px;
- background-color: #fff;
- box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
- }
- .card > h3{
- color:white;
- text-align: center;
- font-size:1.5em;
- margin: 0 -5px 0 -5px;
- background-color: #344F58;
- }
- </style>
- <body>
- <div id="behindMenu">
- <nav>
- <div class="container navContainer">
- <div id="triangleLeft"></div>
- <div id="triangleRight"></div>
- <div class="navbar_brand">
- <img src="https://felgipremium.pl/ZA/imgs/Namioty/1493241857(0).jpg" alt="JFW">
- </div>
- </div>
- </nav>
- <div id="navCloser">
- <div id="closerLeft">
- <div class="closerRectangle"></div>
- <div class="closerTriangle closerLeft"></div>
- </div>
- <div id="closerRight">
- <div class="closerTriangle closerRight"></div>
- <div class="closerRectangle" style="margin-left:93px;"></div>
- </div>
- </div>
- </div>
- <div id="wrapper">
- <div class="container">
- <div class="leftBar">
- <div class="card">
- <h3>Kontakt</h3>
- <p>JFW Wojciech Parda</p>
- <p>ul. Tetmajera 79</p>
- <p>31-352 Kraków</p>
- <p>zdjTel : +48 793-160-430</p>
- <p>zdjEmail : jfw.krakow@gmail.com</p>
- </div>
- </div>
- <div class="auctionContainer">
- Cos tam cos tam
- </div>
- </div>
- </div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement