was successfully added to your cart.

jQuery Drop Down Slider Flat Style

post3-main 

Now , I want to show you my simple project . It called jQuery Drop Down Slider Flat Style. As you can see in that picture , The design is flat , simple , but elegant and easy to create

The main function is to slide down the content when you click the header of the content
But i create it a little different , i create with the new trend of design , Flat Style

Here i give you the main code

JavaScript

HTML

Click Me!

 

 

Hello World!

 

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

HTML With Form

Click Me!

 

 

Hello World!

 

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Submit

 

CSS

body {
 margin:0px;
 background-color: #fff;
 font-family: Helvetica, Arial, sans-serif;
}

#box-wrapper {
 width: 900px;
 margin: 0 auto;
 margin-top: 40px;
}

.box-head {
 position: relative;
 width: 100%;
 height: 50px;
 background-color: #1abc9c;
 cursor: pointer;
 z-index: 100;
 box-shadow: 0px 3px 0px 0px #179c82;
}

.box-title {
 color: #fff;
 padding: 13px;
 /*font-weight: 800;*/
 font-size: 20px;
 float: left;
}

.box-content {
 /*display: none;*/
 background-color: #eff0f2;
 height: 300px;
 box-shadow: 0px 3px 0px 0px #ccc;
}

.box-content h1 {
 color: #555;
 margin: 0px;
 text-align: center;
 padding-top: 40px;
 text-shadow: 1px 1px 1px #ffffff;
}

.box-text {
 margin: 0 auto;
 width: 90%;
 color: #6b6a63;
 padding-top: 20px;
 text-align: center;
 line-height: 25px;
 text-shadow: 1px 1px 1px #ffffff;
}

.arrowimage {
 background: url("../images/bttn-panah-bawah.png");
 float: right;
 height: 30px;
 width: 30px;
 margin: 10px;
 margin-right: 20px;
}

.on {
 background: url("../images/bttn-panah-atas.png");
}


/*======================================FORM=============================================*/

.box-text form {
 margin-top: 30px;
}

.inputform {
 border: 2px solid #bdc3c7;
 color: #34495e;
 font-size: 15px;
 padding: 8px 12px;
 -webkit-appearance: none;
 border-radius: 6px;
 -webkit-box-shadow: none;
 -moz-box-shadow: none;
 box-shadow: none;
}

.input-green:focus {
 border: 2px solid #179c82;
 outline:none;
}

.input-red:focus {
 border: 2px solid red;
 outline:none;
}

.input-blue:focus {
 border: 2px solid #3498DB;
 outline:none;
}

.a-button {
 border-radius: 6px;
 -moz-border-radius: 6px;
 position: relative;
 padding: 10px 25px;
 background-color: #3498DB;
 cursor: pointer;
 z-index: 100;
 color: #fff;
 /*font-weight: 800;*/
 font-size: 16px;
 text-decoration: none;
 text-shadow: none;
}

For the demo you can download it , just click the “pay with tweet” button, and follow the instruction

Download for free if you pay with a Tweet!

Author suavedigital

More posts by suavedigital

All rights reserved Salient.