Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev

This commit is contained in:
Mark Otto 2015-12-07 09:25:28 -08:00
commit ef5b6a224e
6 changed files with 24 additions and 10 deletions

View File

@ -290,6 +290,16 @@
origin: >
Bootstrap#11266, Bootstrap#13098
-
browser: >
Safari (iOS)
summary: >
Tapping on `<body>` doesn't fire `click` events
upstream_bug: >
WebKit#151933
origin: >
Bootstrap#16028
-
browser: >
Safari (iOS 9+)

View File

@ -121,13 +121,13 @@ Transform text in components with text capitalization classes.
<p class="text-capitalize">CapiTaliZed text.</p>
{% endexample %}
## Font weight and style
## Font weight and italics
Quickly change the weight and style of text.
Quickly change the weight (boldness) of text or italicize text.
{% example html %}
<p class="font-normal">Normal text.</p>
<p class="font-bold">Bold text.</p>
<p class="font-weight-bold">Bold text.</p>
<p class="font-weight-normal">Normal weight text.</p>
<p class="font-italic">Italicized text.</p>
{% endexample %}

View File

@ -35,7 +35,7 @@
<a class="nav-item nav-link" href="#">Profile</a>
<a class="nav-item nav-link" href="#">Help</a>
</nav>
<form class="navbar-form pull-xs-right">
<form class="pull-xs-right">
<input type="text" class="form-control" placeholder="Search...">
</form>
</div>

View File

@ -41,7 +41,7 @@
<a class="nav-link" href="#">About</a>
</li>
</ul>
<form class="form-inline navbar-form pull-xs-right">
<form class="form-inline pull-xs-right">
<input class="form-control" type="text" placeholder="Search">
<button class="btn btn-success-outline" type="submit">Search</button>
</form>

View File

@ -102,6 +102,10 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with
- Dropped nearly all `>` selectors for simpler styling via un-nested classes.
- Instead of HTML-specific selectors like `.nav > li > a`, we use separate classes for `.nav`s, `.nav-item`s, and `.nav-link`s. This makes your HTML more flexible while bringing along increased extensibility.
## Navbar
- Dropped the `.navbar-form` class entirely. It's no longer necessary.
### Pager
- Renamed `.previous` and `.next` to `.pager-prev` and `.pager-next`.

View File

@ -72,11 +72,11 @@
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }
// Weight
// Weight and italics
.font-normal { font-weight: normal; }
.font-bold { font-weight: bold; }
.font-italic { font-style: normal; }
.font-weight-normal { font-weight: normal; }
.font-weight-bold { font-weight: bold; }
.font-italic { font-style: italic; }
// Contextual colors