Loading...

The UI Elements

Even More Awesomeness

Alerts

新时时彩论坛 www.0gg6.com.cn 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-05-22
  • 海印公园北片物业及配套停车场出租项目 2019-05-22
  • 13岁少年杀3幼童被收容教养 下调入刑年龄可控犯罪 2019-05-11
  • 宝应按期办结7起环境信访问题 回收22家企业废水 2019-05-11
  • 各项赛事三连冠之后 RNG距离S8冠军还有多远 2019-05-03
  • 各族群众乐享假日:粽叶飘香 歌舞传情 2019-05-03
  • 候选企业:中国贵州茅台酒厂(集团)有限责任公司 2019-04-25
  • 牢记嘱托 让重庆各项工作迈上新台阶重庆各界学习贯彻习近平总书记参加重庆代表团审议时的重要讲话精神 2019-04-25
  • 北京市海淀区西三旗街拆除8500平方米违法建设 2019-03-27
  • 2017大皖客户端徽派栏目全面回顾宣传片 2019-03-27
  • 消息称微软新版Xbox主机2020年上市消息称微软新版Xbox主机2020年上市-手机行情 2019-03-06
  • 电视剧《审讯者》第一镜曝光 2019-02-11
  • “价值由劳动创造≠劳动必然创造价值”错;“价值由劳动创造=劳动必然创造价值”对。 2019-02-08
  • 这就是为什么金融危机发源地的美国,欧债危机重灾区的欧洲各国股市连续7年走牛,屡创历史新高,唯经济最好的中国股市却连续7年熊冠全球的根本原因, 2019-02-08
  • 安徽蚌埠:赛龙舟  中外选手齐拼搏 2019-02-04
  • 309| 399| 259| 843| 15| 36| 490| 461| 196| 550|