简体   繁体   English

Thymeleaf异常解析文档-CSS模板

[英]Thymeleaf Exception Parsing Document - Css Template

I am using the a kube css framework ( https://imperavi.com/kube/css/buttons/ ). 我正在使用一个kube css框架( https://imperavi.com/kube/css/buttons/ )。 But i can not implement the framework into the my project. 但是我无法在我的项目中实现该框架。

<button type="black" small outline>Button</button>

When i am trying to use button like this, it occurs this exception : 当我尝试使用这样的按钮时,会发生以下异常:
Attribute name "small" associated with an element type "button" must be followed by the ' = ' character. 与元素类型“按钮”关联的属性名称“小”必须后跟'='字符。
Is there anyway to use this button with small and outline attributes. 无论如何,是否可以将此按钮与small和outline属性一起使用。

It is common problem with thymeleaf to parse html 5 markup. 百里香解析html 5标记是一个常见问题。 Here is the answer . 这就是答案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM