CSS 子类 css-layout

码农软件 · 软件分类 · CSS框架 · 2019-04-21 06:59:34

软件介绍

css-layout 用纯 JavaScript 做了 CSS 的一个子类,并且翻译成了 C 和 Java,之所以这么做是因为要实现一个小的独立的库去布局元素。它完全不依赖 DOM。

示例代码:

computeLayout(
  {style: {padding: 50}, children: [
    {style: {padding: 10, alignSelf: 'stretch'}}
  ]}
);// =>{width: 120, height: 120, top: 0, left: 0, children: [
  {width: 20, height: 20, top: 50, left: 50}
]}

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

Building Social Web Applications

Building Social Web Applications

Gavin Bell / O'Reilly Media / 2009-10-1 / USD 34.99

Building a social web application that attracts and retains regular visitors, and gets them to interact, isn't easy to do. This book walks you through the tough questions you'll face if you're to crea......一起来看看 《Building Social Web Applications》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具