在Zurb Foundation 5中使用Stencils

时间:2013-12-14 02:22:09

标签: zurb-foundation stencils

之前我使用过自定义表单的基础4,它们运行良好。但是对于Foundation 5,我无法理解如何使用它们。需要帮助!

转到网址:http://foundation.zurb.com/stencils.html它提供了使用它的奇怪指南,我无法理解。

enter image description here

2 个答案:

答案 0 :(得分:2)

Stensils是一组工具,可帮助您在OmniGraffle中快速创建界面。 有关OmniGraffle的更多信息,请点击此处: http://www.omnigroup.com/omnigraffle

如果您需要为网络创建一些自定义表单,请在此处查看: http://foundation.zurb.com/docs/components/forms.html

答案 1 :(得分:1)

正如您在

所见

http://foundation.zurb.com/docs/upgrading.html#upgrading-the-sass

@import "foundation/components/sections";
@import "foundation/components/custom-forms";

已从基础框架中删除。如果您希望继续使用Foundation 4中定义的自定义表单,并按照其官方文档中的说明进行操作

http://foundation.zurb.com/docs/v/4.3.2/components/custom-forms.html

然后你应该切换回基金会4。

作为替代方案,您可以始终使用CSS3和伪元素来设置复选框和/或单选按钮的样式,而无需使用javascript插件来执行此操作。