本文共 4189 字,大约阅读时间需要 13 分钟。
There are many differences and similarities between and . The biggest similarity is that they are both great front-end frameworks that can be used to build out awesome applications. They come with lots of great features, are mobile first, responsive, and customizable, and extensible.
Scotch.io is a big user of Bootstrap and love the great features it provides. Recently, we took a look at Foundation 5's features and how to use it. It's a和之间存在许多异同。 最大的相似之处在于它们都是可用于构建出色应用程序的出色的前端框架。 它们具有许多出色的功能,它们是移动优先,响应Swift,可自定义和可扩展的。
Scotch.io是Bootstrap的大用户,并且喜欢它提供的强大功能。 最近,我们研究了Foundation 5的功能以及如何使用它。 这是一个 that has a few cool things to offer that default Bootstrap does not. Here's a look through some of the cool features you can find in Foundation that aren't in Bootstrap. ,提供了一些很棒的东西,而默认的Bootstrap却没有。 以下是一些您可以在Foundation中找到的,Bootstrap中没有的出色功能。.text-success
, .text-success
, .img-circle
). Foundation comes with a set of universal classes to specify colors and shape. These apply to a variety of things including buttons, alerts, panels, and more. The classes are: .img-circle
)。 Foundation带有一组通用类,用于指定颜色和形状。 这些适用于各种事物,包括按钮,警报,面板等。 这些类是: tiny
, tiny
, small
, small
, large
, large
, secondary
, secondary
, success
, success
, alert
, alert
, radius
, and radius
和 round
. Here's a few examples applied to buttons. round
。 这是一些应用于按钮的示例。 See the Pen by Chris Sevilleja () on .
见笔克里斯Sevilleja( 上) 。
See the Pen by Chris Sevilleja () on .
见笔克里斯Sevilleja( 上) 。
You are in landscape orientation. You are in portrait orientation.
You are on a touch-enabled device. You are not on a touch-enabled device.
See the Pen by Chris Sevilleja () on .
见笔由克里斯Sevilleja( 上) 。
display:none;
. This doesn't stop the content from being loaded so this could mean that you have desktop components loading and slowing down your mobile users. Take a look at the display:none;
。 这不会阻止内容的加载,因此这可能意味着您已经加载了桌面组件并降低了移动用户的速度。 查看 and see how you can dynamically load a Google map for desktop users and a photo for mobile users. ,了解如何为桌面用户动态加载Google地图和为移动用户动态加载照片。 See the Pen by Chris Sevilleja () on .
请参阅上的Chris ( ) 的Pen 。
翻译自:
转载地址:http://zjywd.baihongyu.com/