Loading...

The UI Elements

Even More Awesomeness

Alerts

广西快3投注 www.u6wu.com Alerts are a handy element you can drop into a form or inline on a page to communicate success, warnings, failure or just information. The syntax is extremely simple and like anything else in Foundation, easy to customize.

This is a standard alert (div.alert-box). ×
This is a success alert (div.alert-box.success). ×
This is a warning alert (div.alert-box.warning). ×
This is an error alert (div.alert-box.error). ×


Nav Bar

If you need a more traditional nav bar with dropdowns, you can use this sucka. The dropdowns are optional - omitting the flyout element and .has-flyout class means it will act as a standard link. The flyouts can hold arbitrary content, including grid objects, and have three sizes (.small, standard, and .large).

Note: In IE7 the dropdowns are obscured by the code snippet below. This is due to IE7s iframe z-index bug, and is not an issue with the dropdowns themselves. Try not to have dropdown elements over an iframe.

You can also drop inputs into the nav in place of an anchor. Here you can see a search input.


Sub Nav

If you need to provide simple and effective on-page navigation, to either jump to content on the page or flip to another view then use this awesome little sub-nav.


Labels

Labels are useful inline styles that can be dropped into body copy to call out certain sections or to attach metadata. Examples might be noting when something was updated or that something is new. The syntax is simple, just a spanelement with a class of .label. The border styling mirrors that of the Foundation buttons.

Regular Label Radius Label Round Label

Blue Label Red Label Black Label Green Label White Label

Added 01/19This paragraph has an inline label to let you know that it was added on January 19, 2012 courtesy of Thomas Klemm. Thanks man!


Tooltips

Tooltips are a quick way to provide extended information on a term or action on a page. They work cross browser and cross platfrom and are easily added to a page by including the jquery.tooltip.js plugin. You can apply the has-tipclass to any element, as long as you assign it a unique ID.

By default the tooltip takes the width of the element that it is applied to, but you can override this behavior by applying a data-widthattribute to the target element. The tooltip takes on the content of the targets titleattribute.

The tooltips can be positioned on the "tip-bottom", which is the default position, "tip-top" (hehe), "tip-left", or "tip-right"of the target element.In a mobile environment the tooltips are full width and bottom aligned.


Pagination

Breaking stuff up into pages? Yeah you are. Here's some pagination to get you started.


Breadcrumbs

Walking through a linear flow, or want to show where someone is in the hierarchy? Breadcrumbs are totally boss.

Breadcrumbs are built with a UL just like pagination, and they can support span or anchor elements with 'current' and 'unavailable' classes.


Tables

Okay, they're not the sexiest things ever, but tables get the job done (for tabular data).

Table Header Table Header Table Header Table Header
Content This is longer content Content Content
Content This is longer content Content Content
Content This is longer content Content Content
Content This is longer content Content Content

Video

If you're embedding video from YouTube, Vimeo, or another site that uses iframe, embed or object elements you can wrap your video in div.flex-videoto create an intrinsic ratio that will properly scale your video on any device.

4:3
Widescreen
Vimeo

Microformats

Microformats are formats for data objects represented on the page using standard HTML. By applying specific classes to objects parsers like the operator plugin can detect relevant data and display it. This can be especially handy for contact info, events, locations and news articles. We've supplied some base styling for microformats, as well as the relevant markup.

hCard

hCards are a microformat for contact information. We've represented the correct syntax here to ensure they are machine readable, as well as applied some minimal styling.

hCalendar

An hCalendar event is an iCalendar formatted entry for an event at a specific time and location. This can be interpreted by parsing tools to recognize events and add them to a calendar.

The Foundation Launch Party was on October 13 2011 from 24pm at ZURB HQ



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.

  • 今年回南天为何掉线了?这其实并不奇怪 2019-06-10
  • 分开来吃相当于延长节日气氛对身体也有好处。 2019-06-08
  • 地表最凶残火力 解放军155mm卡车炮曝光 2019-06-05
  • [福]——“幸福”也就是指人的感觉和欲望的满足,达到那种男女在一起而感情融合的“好”的感觉。中国的古人就认定:男女融合在一起的感觉就是人的所有的感觉结果中的最愉 2019-06-05
  • 旗袍女少林寺走秀秀出啥? 2019-06-02
  • 外国领导人祝贺我新一届领导人 2019-06-02
  • 足球运动也是需要不断创新的,不能老是跟着别人的套路走!同样需要较高的综合素质,不能从小就走上专业化的道路。不然就只能是四肢发达头脑简单,就会陷入机械足球的泥潭! 2019-05-30
  • 滇剧兴衰 春城壹网 七彩云南 一网天下 2019-05-30
  • C919首飞机组技术支持团队:和大飞机一起舞动青春 2019-05-28
  • 这是很容易检验的!家庭是按需分配的,也是各尽所能的。笑博士在家中,除按需分配外,还有什么是需要从家中按劳分配的,跟大家讲讲如何? 2019-05-20
  • 车俊会见毛里求斯代总统 2019-05-08
  • 云南昭通垃圾污染问题严重 相关人员蒙骗检查被问责 2019-05-08
  • 莫斯科1辆出租车冲进人群 造成7位墨西哥球迷受伤 2019-05-05
  • 夏天吃水果 关于樱桃你必须知道的几个小常识-美食资讯 2019-05-05
  • 银川河东国际机场“刷脸”就可以坐飞机 2019-05-04
  • 543| 585| 488| 300| 334| 763| 159| 236| 397| 965|