Customize-Controls

Fundamental HTML elements styled and enhanced with extensible classes.

Buttons

Default buttons

Button styles can be applied to anything with the .btn class applied. However, typically you'll want to apply these to only <a> and <button> elements for the best rendering.

Button class="" Description
btn Standard button
btn red Provides red color in a set of buttons
btn green Provides green color in a set of buttons
btn orange Provides orange color in a set of buttons
btn yellow Provides yellow color in a set of buttons
btn purple Provides purple color in a set of buttons
btn dark-blue Provides Dark-blue color in a set of buttons
btn blue Provides blue color in a set of buttons
btn gray Provides gray color in a set of buttons
btn light-gray Provides light-gray color in a set of buttons
Cross browser compatibility

IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled button elements, rendering text gray with a nasty text-shadow that we cannot fix.

Button sizes

Fancy larger or smaller buttons? Add .btn-large, .btn-small, or .btn-mini for additional sizes.


<p>

  <button class="btn btn-large" type="button">Large button</button>

</p>

<p>

  <button class="btn" type="button">Default button</button>

</p>

<p>

  <button class="btn btn-small" type="button">Small button</button>

</p>

<p>

  <button class="btn btn-mini" type="button">Mini button</button>

</p>

Create block level buttons—those that span the full width of a parent— by adding .btn-block.


<button class="btn btn-large btn-block" type="button">Block level button</button>

Disabled state

Make buttons look unclickable by fading them back 50%.

Anchor element

Add the .disabled class to <a> buttons.

Primary link Link


<a href="#" class="btn btn-large btn-primary disabled">Primary link</a>

<a href="#" class="btn btn-large disabled">Link</a>

Heads up! We use .disabled as a utility class here, similar to the common .active class, so no prefix is required. Also, this class is only for aesthetic; you must use custom JavaScript to disable links here.

Button element

Add the disabled attribute to <button> buttons.


<button type="button" class="btn btn-large btn-primary disabled" disabled="disabled">Primary button</button>

<button type="button" class="btn btn-large" disabled>Button</button>

One class, multiple tags

Use the .btn class on an <a>, <button>, or <input> element.

Link

<a class="btn" href="">Link</a>

<button class="btn" type="submit">Button</button>

<input class="btn" type="button" value="Input">

<input class="btn" type="submit" value="Submit">

As a best practice, try to match the element for your context to ensure matching cross-browser rendering. If you have an input, use an <input type="submit"> for your button.

Portfolio

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit fusce vel sapien elit in malesuada semper mi, id sollicitudin urna fermentum ut fusce varius nisl ac ipsum gravida vel pretium.


<div class="portfolio-item">

  <div class="image">

    <img src="assets/portfolio/doctore.png" / >

  </div>

  <div class="content">

    <h4 class="subtitle">

        Lorem Ipsum

    </h4>

    <p class="subtitle">

        Lorem ipsum dolor sit amet, consectetur adipiscing elit fusce vel sapien elit in malesuada semper mi, id sollicitudin urna fermentum ut fusce varius nisl ac ipsum gravida vel pretium.

    < /p>

  </div>

  <div class="links">

    <a href="#null" class="btn">

    <i class="icon-plus"></i>

        More

    </a>

    <a href="#null" class="btn">

    <i class="icon-ok"></i>

        Action

    </a>

   </div>

 </div>

Slider

Animations


<div data-animation="fadeIn"><div>   

<div data-animation="fadeInUp" data-animation-delay=".4s"><div>

List Of Animations


Fade Animations
  1. fadeIn
  2. fadeInUp
  3. fadeInDown
  4. fadeInLeft
  5. fadeInRight
  6. fadeInUpBig
  7. fadeInDownBig
  8. fadeInLeftBig
  9. fadeInRightBig
Flip Animations
  1. flipInX
  2. flipInY
Bounce Animations
  1. bounceIn
Roll Animations
  1. rollIn

Pricing Table

  • Pro

  • 50GB Storage
  • 15 Email Addresses
  • 5 Domains
  • Unlimited Bandwidth
  • Endless Support
  • 10$
  • Sign Up

<div class="span3 offset1"> 

      <ul class="pricing-table" data-animation="fadeInLeft"> 

                 <li class="title"> <h3>Basic</h3> </li>

                 <li></li> 

                  <li><strong>20GB</strong> Storage</li>

                  <li><strong>15</strong> Email Addresses</li> 

                  <li><strong>5</strong> Domains </li> 

                  <li><strong>Unlimited</strong> Bandwidth </li> 

                  <li><strong>Endless</strong> Support</li> 

                  <li class="price">5<small>$</small> </li> 

                  <li class="action"> <a class="btn btn-large" href="#"><i class="icon-unlock-alt"></i>Sign Up</a> </li> 

      </ul> 

  </div>