首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 基于Python的青菜像CSS文件的实现。

基于Python的青菜像CSS文件的实现。

  • 资源大小:9.05 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: python css 文件 基于 实现 青菜

资 源 简 介

About This application allows for an enhanced super-set of CSS, based somewhat on SASS. At the moment, the features are: Variables - variables can be used to define CSS rules. Nesting - nested selectors will output correct long-hand CSS Compression - remove unnecessary white-space. Future additions: Mixins Selector extensions Caching Requires Python 2.0+ Apache + mod Rewrite Setup Place python script in cgi-bin folder. ########## Begin PyCSS#Action process-css /cgi-bin/pycss.pyAddHandler process-css .css Basically, this tells this apache site that for any calls to a file ending in css, run the pycss.py script instead. The script picks up the path to the file from the env-variables and then does magic with it. Usage Variables $a_colour:#452312;body { background:$a_colour;}p { background:#fff; color:$a_colour;} Nestin
VIP VIP
  • 睥睨 1天前 成为了本站会员

  • ? 1天前 成为了本站会员

  • IATWAY 2天前 成为了本站会员

  • 大智若愚 2天前 成为了本站会员

  • Mason 2天前 成为了本站会员

  • 2天前 成为了本站会员

  • Half_Punch 3天前 成为了本站会员

  • liqing71718 3天前 成为了本站会员

  • 伟国 3天前 成为了本站会员

  • songy 3天前 成为了本站会员

0.178659s