Loading...

A big box filled with Features and love.

Buttons

We <3 buttons. And so do you! That's why Klassio contains has multiple buttons styles and color that are not only badass out of the box, but easy to customize for your projects.


Examples

Orbit Slider

Orbit is all the rage in jQuery hotness right now. It's a killer, lightweight slider for images & content.


Overflow: Hidden No More HTML Captions and more features

Orbit does content.

This is just some text over a background color.
I'm A Badass Caption: I can haz links, style or anything that is valid markup :)

The Basic Implementation

Orbit is going to be the easiest slider you've ever hooked up. Below are the steps, but for more detail checkout the playground docs.

  1. Get some markup like this in your page:


  2. Activate Orbit. You can embed the call in the specific page like this:


    ...Or you could just put it in the app.js file if you're using that.
  3. You can even apply the class .slider to the div that contains the slider (Only For This Theme). The default slider uses the same method.

Options


Tabs


Tabs are very versatile both as organization and navigational constructs. To keep things easy for everyone we've created two main tab styles (simple and nice) as well as two variants of each - open and contained. With the base Foundation package, tabs of a particular format are actually already hooked up - no extra work required.

Tabs are made of two objects:a DL object containing the tabs themselves, and a UL object containing the tab content. If you simply want visual tabs (as seen in this documentation) without the on-page hookup, you only need the DL. If you want functional tabs, just be sure that each tab is linked to an ID, and that the corresponding tab has an ID of tabnameTab. Check out these examples.

Note: The third tab is using the mobile visibility classes to hide on small devices.

Simple Tabs
Simple Tab 1
Simple Tab 2
Simple Tab 3
  • This is simple tab 1's content. Pretty neat, huh?
  • This is simple tab 2's content. Now you see it!
  • This is simple tab 3's content. It's only okay.

Contained Tabs

Contained tabs have a simple added class of 'contained' on the tabs-content element. What that means is the tab content has a border around it tying it to the tabs, and the padding on that container (by default) is one column on each side. That means you can still use standard column sizes inside a tab element.

Simple Tab 1
Simple Tab 2
Simple Tab 3
  • This is simple tab 1's content. Pretty neat, huh?
  • This is simple tab 2's content. Now you see it!
  • This is simple tab 3's content. It's only okay.

Nice Tabs

Need something a little fancier? Nice tabs have some sweet default styling and can add a little polish to a prototype (or documentation). They can be both standard and contained, just like the simple tabs.

Nice Tab 1
Nice Tab 2
Nice Tab 3
  • This is nice tab 1's content. Pretty neat, huh?
  • This is nice tab 2's content. Now you see it!
  • This is simple tab 3's content. It's only okay.

Vertical Tabs

You can also use tabs in a vertical configuration by adding a class of 'vertical' to the DL element. These are great for more scalable nav, and you can see how they work on this page on a tablet or desktop.

Vertical Tab 1
Vertical Tab 2
Vertical Tab 3

Mobile Tabs

To demonstrate how mobile navigation can work, adding a class of 'mobile' to a tab group will switch them (at small resolutions) to full width nav bars.


Forms

Forms are not a lot of fun. We've taken that lack of fun and dodged it with this ready-made code. In this release there are two sets of forms styles - basic and nice. Both are simple, both are flexible, both are easy to customize.


Forms

Inputs support a number of different base classes. Any text input has a class of 'input-text' and supports several sizes:

Inline Labels

Inline labels are accomplished using the HTML5 Placeholder attribute, with a built-in JS fallback.

Error States

Error states can be applied in two ways:

  • Using a wrapper for div.form-field.error, which will apply styles to text inputs, labels, and a small.error message (optional). This is ideal for programmatically generated forms.
  • You can also apply the .red class to labels, inputs, and also append a small.error.
Whoa, cowboy. Try that again.
Whoa, cowboy. Try that again.
Fieldset Header H2

This is a paragraph within a fieldset.


Nice Forms

Changing the form style to a slightly fancier version is dead simple - just add a class of 'nice' to the form itself.

Whoa, cowboy. Try that again.
Whoa, cowboy. Try that again.
Fieldset Header H2

This is a paragraph within a fieldset.


Custom Forms

Creating easy to style custom form elements is so crazy easy, it's practically a crime. Just add a class of 'custom' to a form and, if you want, forms.jquery.js will do everything for you.

The Foundation forms js will look for any checkbox, radio button, or select element and replace it with custom markup that is already styled with forms.css.

If you want to avoid a potential flash (waiting for js to load and replace your default elements) you can supply the custom markup as part of the page, and the js will instead simply map the custom elements to the inputs.

Foundation custom forms will even correctly respect and apply default states for radio, checkbox and select elements. You can use the 'checked' or 'selected' properties just like normal, and the js will apply that as soon as the page loads.

Radio Buttons

Checkboxes

Dropdown / Select Elements

Adding Custom Forms with JavaScript

If you are creating these custom forms using JavaScript (via AJAX, JavaScript templates or whatever), you will also need to create the custom markup that Foundation typically creates for you.

Foundation detects any custom forms when the document has loaded and adds the custom markup required to make the forms pretty. However if you are adding these forms after the document has loaded, Foundation does not know to append this markup.

All the custom forms events are bound using jQuery.fn.on(), so you don't need to worry about event handlers not being bound to new elements.



Most of the documentation is by the Zurb Team. It's awesome & I'm thankful that they wrote such thorough documentation for an open source project. Most companies would never do that.

友情链接:潍坊空压机厂  |广州力莱软件有限公司分部  |邯郸英才网  |全国家电联保指定售后维修中心  |青州亚联砂金矿业机械有限公司  |四川省多多养殖笼具成套设备厂  |J家-闲情  |上海越励叉车有限公司  |金毛  |南方时  |潍坊远力磁电科技有限公司  |深圳市皇雅实业有限公司  |山西智影微投数码科技有限公司  |深圳市皇雅实业有限公司  |邯郸英才网  |青春娱乐资讯  |深圳市皇雅实业有限公司  |广州力莱软件有限公司分部  |四川省多多养殖笼具成套设备厂  |北京市安全生产监督管理局  |手机铃  |武汉市武昌区欧尼卡光学仪器经营部  |济宁华瑞重工机械设备有限公司  |J家-闲情  |惠州市旺固防水装饰工程有限公司  |凤凰科技维修公司  |济宁华瑞重工机械设备有限公司  |广州万达有限公司  |青春娱乐资讯  |J家-闲情  |天津豪斯尔自动化设备有限公司  |深圳市金鹰威视科技有限公司  |济南鑫顺升降机械有限公  |北京市安全生产监督管理局  |天津豪斯尔自动化设备有限公司  |济南鑫顺升降机械有限公  |济南鑫顺升降机械有限公  |南方时  |金毛  |南方时  |开瑞物  |东莞市东业大拓铜业有限公司  |南方时  |广州力莱软件有限公司分部  |四川省多多养殖笼具成套设备厂  |北京市安全生产监督管理局  |手机铃  |武汉市武昌区欧尼卡光学仪器经营部  |济宁华瑞重工机械设备有限公司  |J家-闲情  |潍坊远力磁电科技有限公司  |零零看书  |诚信品牌家电售后维修公司  |青春娱乐资讯  |青春娱乐资讯  |北京市安全生产监督管理局  |山西智影微投数码科技有限公司  |诚信品牌家电售后维修公司  |中国雅  |博德  |零零看书  |J家-闲情  |金华市金驰快洗科技有限公司  |深圳市金鹰威视科技有限公司  |四川自动伸缩门 四川不锈钢伸缩门 四川电动门 四川道闸  |宗申电  |南方时  |康安途  |青春娱乐资讯  |金华市金驰快洗科技有限公司  |山西智影微投数码科技有限公司  |华强宝  |中国国际工程咨询公司  |潍坊空压机厂  |ROSI套图官网  |武汉市武昌区欧尼卡光学仪器经营部  |597金?  |佛山市顺德区瑞境印刷科技有限公司  |青州亚联砂金矿业机械有限公司  |邯郸英才网  |北京市安全生产监督管理局  |中国国际工程咨询公司  |邯郸英才网  |天津豪斯尔自动化设备有限公司  |广州兴臻忆企业管理有限公司新塘分公司  |零零看书  |手机铃  |济宁华瑞重工机械设备有限公司  |武汉市武昌区欧尼卡光学仪器经营部  |苏州奥尤德机械有限公司  |广州万达有限公司  |金华市金驰快洗科技有限公司  |开瑞物  |深圳市金鹰威视科技有限公司  |东莞市东业大拓铜业有限公司  |诸城市硕丰机械科技有限公司  |广州力莱软件有限公司分部  |华强宝  |宗申电  |山西智影微投数码科技有限公司  |   网站地图