]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
more migration content
authorMark Otto <markdotto@gmail.com>
Wed, 11 Mar 2015 19:50:00 +0000 (19:50 +0000)
committerMark Otto <markdotto@gmail.com>
Wed, 11 Mar 2015 19:50:00 +0000 (19:50 +0000)
docs/migration.md

index f699cdc3c9eaf0110403842be3a1951de2f7e06a..2c790d33ec22109a2a330805ec125da982a39ccb 100644 (file)
@@ -36,6 +36,11 @@ This table shows the style changes between v3.x.x and v4.0.0.
 - Changed `.table-condensed` to `.table-sm` for consistency.
 - Added a new `.table-inverse` option.
 
+### Navs
+
+- 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.
+
 ### Pager
 
 - Changed `.previous` and `.next` to `.pager-prev` and `.pager-next`.