CSS 预处理器 GCSS

码农软件 · 软件分类 · CSS框架 · 2019-04-21 13:14:12

软件介绍

GCSS 是纯 Go 语言实现的 CSS 预处理器,灵感来自于 SassStylus.

示例:

$border-radius($radius)
  -webkit-border-radius: $radius
  -moz-border-radius: $radius
  -ms-border-radius: $radius
  border-radius: $radius

.box
  $border-radius(10px)

编译:

cssPath, err := gcss.CompileFile("path_to_gcss_file")

if err != nil {
    http.Error(w, err.Error(), http.StatusInternalServerError)
    return
}

http.ServeFile(w, r, cssPath)

本文地址:https://codercto.com/soft/d/4065.html

The Science of Programming

The Science of Programming

David Gries / Springer / 1989-4-21 / USD 99.00

Describes basic programming principles and their step-by- step applications.Numerous examples are included.一起来看看 《The Science of Programming》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具