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

JavaScript and Ajax for the Web, Sixth Edition

JavaScript and Ajax for the Web, Sixth Edition

Tom Negrino、Dori Smith / Peachpit Press / August 28, 2006 / $24.99

Book Description Need to learn JavaScript fast? This best-selling reference’s visual format and step-by-step, task-based instructions will have you up and running with JavaScript in no time. In thi......一起来看看 《JavaScript and Ajax for the Web, Sixth Edition》 这本书的介绍吧!

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

在线压缩/解压 HTML 代码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

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

HEX HSV 互换工具