---
title: "Bootstrap, from Twitter"
author: "xustar"
date: "2012-07-16T16:29:57Z"
tags: []
categories: ["Web前端"]
slug: "bootstrap-from-twitter"
draft: false
lastmod: "2012-07-16T16:28:58Z"
id: 1595391
url: "https://xustar.iteye.com/blog/1595391"
---

前段时间,由于项目需要,(基于ios和android系统的大数据量的web项目).

因为之前开发,web项目,使用过javascript和其中的优秀的插件,因此首先选择了jquery mobile.

效果没通过.之后尝试了基于EXT,的插件Sencha..........悲剧,结果还是不理想!

最后,找到了......Bootstrap!

 

个人觉得,Bootstrap, 还是比较好用.容易上手,在API,方面和其他现有的插件相比较,还是比较优秀的,和大家分享下:

Simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions.

## 现在最新的是:[Bootstrap 2.0.4 released](http://blog.getbootstrap.com/2012/06/bootstrap-2-0-4-released/ "Bootstrap 2.0.4 released")

## Docs

- Added `type="button"` to all dismiss buttons in alerts and modals to avoid a bug in which they prevent their parent’s `form` from properly submitting.
- Added simple documentation to Base CSS for `.lead`.
- Added new CSS test to illustrate how the navbar, static and fixed, behaves.
- Clarified grid sizing copy to include mention of responsive variations.
- Reformatted the LESS docs page to prevent terrible table displays at smaller grid sizes.
- Miscellaneous typos and tweaks.

## CSS

- Refactored forms.less to make our selectors more specific for fewer overrides and less code. Instead of a generic `input` selector and various resets, we target each type of input like `input[type="text"]`,`input[type="password"]`, etc.
- Form field state (e.g., success or error) now applies to checkbox and radio labels.
- Removed redundant CSS on `<p>` for `font-family`, `font-size`, and`line-height`.
- Removed redundant `color` declaration from the `<label>` element.
- Added variables for dropdown dividers border colors.
- `legend` and `.form-actions` share the same `border-color`, `#e5e5e5`.
- Fixed some responsive issues with input-prepend and -append, notably with the fluid grid.
- Added special CSS to prevent `max-width: 100%;` on images from messing up Google Maps rendering.
- Scope opened dropdowns to only immediate children to avoid unintended cascade.
- Similarly, scope floated-right dropdowns to immediate children with`.pull-right > .dropdown-menu`.
- Updated `.placeholder()` mixin to use `&` operator in Less for proper output when compiling.
- Added `-ms-input-placeholder` to `.placeholder()` mixin.
- Added CSS3 hyphens mixin.
- Fixed a bug in IE7/8 where certain form controls would not show text if the parent had a filter opacity set.

[http://twitter.github.com/bootstrap/examples/fluid.html](http://twitter.github.com/bootstrap/examples/fluid.html)

address:[http://twitter.github.com/bootstrap/index.html](http://twitter.github.com/bootstrap/index.html)

 

dome: