如何将 HAML 更改为 HTML css 烟花
How to change HAML to HTML css firework
我在 codepen 中找到了这个漂亮的代码。但是,它是用 HAML 编写的,如何将其添加到我的 HTML 代码中。我试了很多东西都失败了,请你帮忙。
下面提到的是HAML
%div.wrap
-10.times do
%div.firework
-40.times do
%div.c
请帮助我将其整合到我的 html 页面中。
您可以轻松使用 Codepen compiler and use the code. But, my opinion is you can learn HAML。
我在 codepen 中找到了这个漂亮的代码。但是,它是用 HAML 编写的,如何将其添加到我的 HTML 代码中。我试了很多东西都失败了,请你帮忙。
下面提到的是HAML
%div.wrap
-10.times do
%div.firework
-40.times do
%div.c
请帮助我将其整合到我的 html 页面中。
您可以轻松使用 Codepen compiler and use the code. But, my opinion is you can learn HAML。