任何程序从您的HTML生成CSS类? [英] Any programs to generate css classes from your html?

查看:87
本文介绍了任何程序从您的HTML生成CSS类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是好奇没有人知道一个程序或脚本从您的HTML文档的结构生成样式表(明显的空白值)?基本上只是拉出你在你的HTML中设置的ID和类,并使占位符CSS,所以你不必提前计划或再次写,记住D.R.Y.任何人?:)如果你不认为这可以帮助任何人在这里,随意对我大喊:D。我相信我可以像这样鞭打一些东西,但如果它已经在那里,我可能会坚持我的规则DRABEE(不要重复任何身体其他)。感谢。

Just curious does anyone know a program or script to generate a style sheet(with blank values obviously) from the structure of your html document? Basically just pull out the ID's and Classes you set in your html and make placeholder css so you don't have to plan it ahead of time or write it again ,remember D.R.Y. anyone?:) Feel free to yell at me if you don't think this could help anyone else here :D . I'm sure I could whip something up like that but if it's already out there I might as well stick to my rule of DRABEE(Don't repeat any body else either) . Thanks.

推荐答案

您查看了 http:// primercss .com /
似乎正在做你要的。

Did you check http://primercss.com/ ? Seems to be doing exactly what you are asking for.

这篇关于任何程序从您的HTML生成CSS类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆