Semantic UI 2.1.4 发布,此版本更新内容如下: 关键 bug 修复 Build - Fixed issue where using a packaged theme without a site.variables would cause build to fail #3009 #3010 增强 表单验证 - Form validation now supports a brand new shorthand which is drastically simpler to specify #2579 // expands out using default prompts and identifier matching property label$('.ui.form') .form({ fields: { name : 'empty', gender : 'empty', username : 'empty', password : ['minLength[6]', 'empty'], skills : ['minCount[2]', 'empty'], terms : 'checked' } }) ; 表单验证 - identifier and prompt are now optional for all form validation rules. Default prompt values have been added for all rule types, and identifier will now automatically match on the named value for rule if no ID is specified. #3001 #2579 表单验证 - All form prompts now support templates values, {value}, {name}, {ruleValue}, and {identifier} #3001 Bug 修复 Dropdown - Fixed issue with ',' key not being allowed in dropdown due to user tagging shortcut key #3016 Message - ui list used inside ui message now aligns properly in all conditions #2958 Form Validation - Validation messages in error message group are now correctly removed when invalid field revalidates on blur Label - Labels no longer force single line using word-wrap: nowrap #3006 Table - Fixed issue where (x) column segment table was inheriting accidentally inheriting some grid styles Grid - Fixed middle aligned grid not applying to columns #2959 Menu - Fixed issue where right menu was not floating correctly inside a menu > container on mobile #2969 Button - Fixes right labeled icon button with a right named icon (for example right arrow) having incorrect margin on icon. #2973 下载:https://github.com/Semantic-Org/Semantic-UI/archive/2.1.4.zip。 Semantic UI—完全语义化的前端界面开发框架,跟 Bootstrap 和 Foundation 比起来,还是有些不同的,在功能特性上、布局设计上、用户体验上均存在很多差异。 Semantic UI 特点: 文档和演示非常完善 易于学习和使用 配备网格布局 支持 Sass 和 LESS 动态样式语言 有一些非常实用的附加配置,例如inverted类。 对于社区贡献来说是比较开放的。 有一个非常好的按钮实现,情态动词,和进度条。 在许多功能上使用图标字体。 Semantic UI 对浏览器的支持: Last 2 Versions FF, Chrome, IE (aka 10+) Safari 6 IE 9+ (Browser prefix only) Android 4 Blackberry 10 Semantic UI 2.1.4 发布,前端界面开发框架下载地址