Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
知道我是否可以在 Markaby 中使用带有破折号的类吗?
在mabdiv.label-center文件中执行此 HTML:
div.label-center
<div class="label -"><center>
额外的问题 - Markaby 是死是活?
如果你想这样做,你必须向类发送一条消息,因为-它是 Ruby 中的一个运算符。以这种方式编写代码:
-
div.send(:'label-center')