Bootstrap v4.0.0-alpha.6 发布,一个 Web 前端框架

jopen 7年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/204e66094e847760569351f84343b31d.jpg" /></strong></p>    <p> </p>    <p>Bootstrap 是由 推ter 的 Mark Otto 和 Jacob Thornton 开发的一个用于快速开发 Web 应用程序和网站的前端框架。Bootstrap 是基于 HTML、CSS、JAVASCRIPT 的。</p>    <p><strong>为什么使用 Bootstrap?</strong></p>    <ul>     <li>移动设备优先:自 Bootstrap 3 起,框架包含了贯穿于整个库的移动设备优先的样式。</li>     <li>浏览器支持:所有的主流浏览器(Internet Explorer、Firefox、Opera、Google Chrome和Safari)都支持 Bootstrap。</li>     <li>容易上手:只要您具备 HTML 和 CSS 的基础知识,您就可以开始学习 Bootstrap。</li>     <li>响应式设计:Bootstrap 的响应式 CSS 能够自适应于台式机、平板电脑和手机。更多有关响应式设计的内容详见 Bootstrap 响应式设计。</li>     <li>它为开发人员创建接口提供了一个简洁统一的解决方案。</li>     <li>它包含了功能强大的内置组件,易于定制。</li>     <li>它还提供了基于 Web 的定制。</li>     <li>它是开源的。</li>    </ul>    <p><strong>Bootstrap 包的内容:</strong></p>    <ul>     <li>基本结构:Bootstrap 提供了一个带有网格系统、链接样式、背景的基本结构。</li>     <li>CSS:Bootstrap 自带以下特性:全局的 CSS 设置、定义基本的 HTML 元素样式、可扩展的 class,以及一个先进的网格系统。</li>     <li>组件:Bootstrap 包含了十几个可重用的组件,用于创建图像、下拉菜单、导航、警告框、弹出框等等。</li>     <li>JavaScript 插件:Bootstrap 包含了十几个自定义的 jQuery 插件。您可以直接包含所有的插件,也可以逐个包含这些插件。</li>     <li>定制:您可以定制 Bootstrap 的组件、LESS 变量和 jQuery 插件来得到您自己的版本。</li>    </ul>    <h2>更新日志</h2>    <ul>     <li>Flexbox is now on by default, with no fallback! This means we've dropped IE9 support, but with significant savings to our code base, simpler components, and improved customization thanks to the power of flexbox.</li>     <li>Rebuilt the navbar with flexbox in mind, leading to some structural changes, but including more flexibility and customization. Includes updated docs, code snippets, more responsive options. All navbars in our examples are also using the latest markup and styles now. Also solves around 10 bugs in the process!</li>     <li>Overhauled flexbox utilities and documented them. Replaced all the previous flexbox utilities with new ones that are named after <code>property: value</code> pairs (instead of creating new names for things). For example, <code>.flex-items-between</code> is now <code>.justify-content-between</code> to apply <code>justify-content: between;</code>. This also adds tons of new flexbox utilities for <code>display</code>, <code>order</code>, <code>wrap</code>, and more.</li>     <li>Revamped navs Sass with flexbox and updated docs. All the <code>float</code>s and clearfixs have been removed,<code>.nav-inline</code> removed (on account of <code>display: flex</code> inlining for us on <code>.nav</code>), added fill and justify options, and more.</li>     <li>Building on the grid improvements from Alpha 5, you can now customize container padding across grid breakpoints and optionally remove grid gutters with <code>.no-gutters</code>.</li>     <li>Similarly, our flexbox grid system has new classes for automatically sizing columns to the size of their content across viewports (e.g., you can now apply <code>col-xs-6</code>, <code>col-md-auto</code>, and <code>col-xl-4</code> to a single element).</li>     <li>Grid, display, float, margin, padding, and text utility classes have been significantly overhauled. In addition to all classes now being responsive, the <code>xs</code> tier no longer requires a breakpoint abbreviation, making for shorter and more descriptive classes and an easier migration from v3. For example, instead of <code>.d-xs-none</code>, it's back to <code>.d-none</code> while it remains <code>.d-{sm,md,lg,xl}-none</code> for those breakpoints.</li>     <li>Renamed some <code>.active</code>, all <code>.in</code>, and all <code>.open</code> classes for our JavaScript powered components for more consistent naming. For example, instead it's now <code>.collapse.show</code> instead of <code>.collapse.in</code> and<code>.show > .dropdown-menu</code> instead of <code>.open > .dropdown-menu</code> to better communicate the visibility of elements.</li>     <li>Refactored carousel with new, simpler styles, better documentation, and less specific selectors.</li>     <li>Rewrote progress component without the <code><progress></code> element due to lack of animations, no support for multiple bars, and no support for labels on the progress bars.</li>     <li>Fixed some unescaped <code>#</code>s in our SVG data URLs that are used to add vector background-images.</li>     <li>Renamed <code>.tag</code> back to <code>.badge</code>, like v3, to avoid conflicts with common WordPress styles.</li>     <li>A number of custom form enhancements and bugfixes were made. Label-less custom radios and cehckboxes, fixed SVG URLs in <code>background-image</code>s, and more.</li>     <li>Updated Normalize.css to v5.0.0.</li>     <li><code>.form-check</code> and <code>.form-check-inline</code> now share the same markup. Switch between the two by adding or removing <code>.form-check-inline</code> as a modifier.</li>     <li>Added support for justified navigation when in flexbox mode.</li>     <li>Renamed <code>_animation.scss</code> to <code>_transitions.scss</code> for clarity.</li>     <li>Added new color variables (e.g., <code>$blue</code>) for additional customization.</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958997752974857093" rel="nofollow"><strong>bootstrap-4.0.0-alpha.6-dist.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958997753094923328" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958997753218665577" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/5d39684">http://www.open-open.com/news/view/5d39684</a></p>